开发者

difficulty translating liferay

开发者 https://www.devze.com 2023-04-11 04:43 出处:网络
When I modify the Language_pt_PT.properties and restart the server, nothing happens. The modifications I\'ve done don\'t show up.

When I modify the Language_pt_PT.properties and restart the server, nothing happens. The modifications I've done don't show up.

I've also tried changing other language file with no success.

What might be wron开发者_JAVA百科g?

Thanks!


I found the problem: I made a backup copy of portal-impl.jar to the same folder of the original. The server was loading the files in the backup and not the new files.

Lame and rookie.

Sorry guys and thank you for your effort.


I would copy the file to every locale that uses Portuguese just in case you've accidentally selected that locale instead. From memory, the only other country that I can think of that speaks Portuguese is Brazil - Language_pt_BR.properties.

Like Martin mentioned,

Also there are 2 settings for languages, 1 for the user and 1 for the server. If you happened to just change the servers language preferences, you'll still need to switch it for the logged in user because the users preference takes precedence and this option will be set at the time the user was created.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号