留言板

Encoding problem while trying to modify the french translation

I Win,修改在13 年前。

Encoding problem while trying to modify the french translation

New Member 帖子: 16 加入日期: 10-9-23 最近的帖子
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,修改在13 年前。

RE: Encoding problem while trying to modify the french translation

Liferay Legend 帖子: 1668 加入日期: 08-7-15 最近的帖子
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,修改在13 年前。

RE: Encoding problem while trying to modify the french translation

New Member 帖子: 16 加入日期: 10-9-23 最近的帖子
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,修改在13 年前。

RE: Encoding problem while trying to modify the french translation

Liferay Legend 帖子: 1668 加入日期: 08-7-15 最近的帖子
No problem, cheers!
thumbnail
Olaf Kock,修改在13 年前。

RE: Encoding problem while trying to modify the french translation

Liferay Legend 帖子: 6403 加入日期: 08-9-23 最近的帖子
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,修改在13 年前。

RE: Encoding problem while trying to modify the french translation

New Member 帖子: 16 加入日期: 10-9-23 最近的帖子
No I didn't know thanks!