Page 1 of 1

Issue in content display in dynaform after using translation package

Posted: Thu Jul 11, 2019 6:26 pm
by maabik
Hi,

I have issue with content display in he dynaforms (HTML), i am using the translation package to French language, from time to time, the special characters like : é, è, à ... are transformed to coded sequence of characters.

Is there any solution for this issue?

Thank you in advance
Regards

Re: Issue in content display in dynaform after using translation package

Posted: Thu Jul 11, 2019 6:38 pm
by maabik
Hi,

As a complement, below is an exemple:
"é" ---> iconv('UCS-4LE','UTF-8',pack('V', hexdec('U00e9')))

Regards

Re: Issue in content display in dynaform after using translation package

Posted: Fri Jul 12, 2019 10:20 pm
by amosbatto
I just imported the following translation file into PM 3.3.8:
https://ufpr.dl.sourceforge.net/project ... aker.fr.po

and I don't see any problems. Can you provide a screenshot of the problem?

I suspect that you opened the PO file and then saved the file in a character encoding that isn't UTF-8, which is what is causing the problem. (Linux usually uses UTF-8 by default, so it isn't a problem if you edit the PO file in Linux, but if you edit in a Windows System, you need to explicitly tell the text editor which character set you are using.)

I recommend that you download the French PO file again and import it into ProcessMaker and see if that fixes the problem.