difficulty translating liferay
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.
精彩评论