I want to use own i18n plugin localization. When I wrote loc_cs_CZ.properties file as equivalent to english localization in loc.properties everything looks fine, but if user change language profile back to english (or the other language), original english labels will not populate back.
What Im doing wrong, or need register some additional resources?
Thx for help,
It is my own plugin for JIRA 4.1.2, where in atlassian-plugin.xml I have
<resource type="i18n" name="i18n" location="i18n.messages" />
and in resources folder I have localization files
If I remove cs, english labels are shown, but Im not albe to have these two localizations together.
It was some issue/bug in JIRA 4.1. If I installed JIRA with selecting cs_CZ as my default location in instalation process and than try change to en, it used my cs_CZ properties as primary. Try over-ride the default locale used by the JVM: -Duser.language=en -Duser.country=US (add into the some setenv, properties startup JIRA file) The other way is reinstal all application.
In resources folder I have 2 files
And I have 2 button for users to change the language. I dont know how to change the display language when users click on buttons. Can you give me some suggestion ?
Im working on JIRA 5.0.
Just stumbled over the same problem in JIRA 4.4.
Changing the locale used by the JVM as described here fixed the problem.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot