Forums de discussion

Encoding problem while trying to modify the french translation

I Win, modifié il y a 13 années.

Encoding problem while trying to modify the french translation

New Member Publications: 16 Date d'inscription: 23/09/10 Publications récentes
Hello,
I need to improve the french translation in liferay 6.0.5 because it's not really professionnal at the moment.
I followed the Translation tutorial but when i deployed my properties file, all the non-ascii character (é, à...) weren't correctly displayed.

I tried encoding the properties file in UTF8 but it didn't help. I tried to use native2ascii, result are the same (I heard it's useless to use native file in liferay 6). What did i do wrong?
thumbnail
Julio Camarero, modifié il y a 13 années.

RE: Encoding problem while trying to modify the french translation

Liferay Legend Publications: 1668 Date d'inscription: 15/07/08 Publications récentes
Hi,

you probably have a problem with the encoding of your file, some editors have problems with it. Make sure your file is UTF-8. You should be able to use the UTF-8 characters in your properties file.

If you can't find the issue attach us your file here so that we can test it.

cheers!
I Win, modifié il y a 13 années.

RE: Encoding problem while trying to modify the french translation

New Member Publications: 16 Date d'inscription: 23/09/10 Publications récentes
Okay nvm, i found the issue. I didnt know you couldnt redeploy the ext plugin. I deleted every file like specified here


Thank you for your attention.
thumbnail
Julio Camarero, modifié il y a 13 années.

RE: Encoding problem while trying to modify the french translation

Liferay Legend Publications: 1668 Date d'inscription: 15/07/08 Publications récentes
No problem, cheers!
thumbnail
Olaf Kock, modifié il y a 13 années.

RE: Encoding problem while trying to modify the french translation

Liferay Legend Publications: 6403 Date d'inscription: 23/09/08 Publications récentes
I Win:
Okay nvm, i found the issue. I didnt know you couldnt redeploy the ext plugin. I deleted every file like specified here


just to be sure: You know that updating the translations is easier (and easily redeployable) from within a hook?
I Win, modifié il y a 13 années.

RE: Encoding problem while trying to modify the french translation

New Member Publications: 16 Date d'inscription: 23/09/10 Publications récentes
No I didn't know thanks!