Welcome, Guest
Username: Password: Remember me

TOPIC: Accents in module lang file

Accents in module lang file 1 year 9 months ago #21878

  • kess
  • kess's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Hi all guys,
I have created a new module for Dolibarr 3.2.x., the structure is:
modulename/...
modulename/langs/en_US/modulename.lang
modulename/langs/fr_FR/modulename.lang
modulename/...

In the french language file, I have strings with accents.

If Dolibarr language is set to English everything is OK, but if I set language in French, every string containing accents is not displayed here:
www.dolibarr.local/admin/modules.php?mainmenu=home

In the language file I have:
CHARSET= UTF-8
Module123456Name=Nom du Mudule
Module123456Desc=Description avec èéà accents

The string Module123456Name is correctly translated, but the string Module123456Desc is not displayed at all.

How can I fix that ?

Thank you for your help.
Last Edit: 1 year 9 months ago by kess.
The administrator has disabled public write access.

Assume lousy tablets-us 1 year 9 months ago #21879

  • Darcolem
  • Darcolem's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
generic cialis
-+- generic cialis
buycialisonlinetoday.com/#50847 - generic cialis
The administrator has disabled public write access.

Re: Accents in module lang file 1 year 9 months ago #21882

  • humphrey
  • humphrey's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 169
  • Thank you received: 6
  • Karma: 14
Hi,

I'm not a developer but it reminds me that I already faced such issue while playing with French language files: are you sure that you saved the .lang file as UTF-8 format (should be a setting of your editor) ?

Rgds and HAPPY NEW YEAR TO EVERYONE
The administrator has disabled public write access.

Re: Accents in module lang file 1 year 9 months ago #21885

  • kess
  • kess's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
humphrey wrote:
Hi,

I'm not a developer but it reminds me that I already faced such issue while playing with French language files: are you sure that you saved the .lang file as UTF-8 format (should be a setting of your editor) ?

Rgds and HAPPY NEW YEAR TO EVERYONE
Thank you very much for your reply, after file format modification it worked like a charm.
Bye Kess
The administrator has disabled public write access.
Time to create page: 0.079 seconds