Make changes in language_xx_XX.jar file

Atis Slišāns September 19, 2011

I wanna change some translations in Jira in my local language. I know that change needs to be done in language file <tt>atlassian-jira/WEB-INF/lib/</tt>language_xx_XX.jar.

Here is what I do:

  • copy .jar file from server, extract it to folder (with 7zip)
  • found poperties file - JiraWebActionSupport.properties, made needed changes
  • add folder to zip, then rename file extension to .jar (can I do this or need jar command?)
  • copy language_xx_XX.jar back to server
  • restart Jira

... but my changes dont appear. What Im doing wrong? Can someone assist with this?

--------------------

JIRA (v4.1.2#531)

3 answers

1 accepted

1 vote
Answer accepted
Atis Slišāns August 13, 2012

Steps are correct, pay attention to this... just make sure you're zipping the contents of the folder, not the enclosing folder, when you re-zip

Tova Pozen January 25, 2018

 I tried the same process  - but I still cannot see the changes on my UI.

I recompiled all the extracted files by jar command.

What am I missing?

0 votes
jjaroczynski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2012

Hey guys,

Just wanted to let you know that we have just released InProduct translation plugin for JIRA.

It allows to translate JIRA right from its page so you can see all messages and provided translations live in a second. You don't need to play with jars, zip, etc. Just install the plugin in JIRA, select "Translate Page" from the user profile menu in JIRA and start translations.

The plugin is available in marketplace: https://marketplace.atlassian.com/plugins/com.atlassian.translations.jira.inproduct
You can install it from the UPM. It works with JIRA 5.1+.

Cheers,
Jacek

jjaroczynski
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2012

BTW. If you like the InProduct translation for JIRA and would like to have the same for Confluence then please vote and comment following issue: https://jira.atlassian.com/browse/TRANS-579

0 votes
Jeremy Largman
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 19, 2011

There's a document for this here:

http://confluence.atlassian.com/display/DOC/Editing+Files+within+JAR+Archives

That's a Confluence document, but the same principle applies. Basically you're doing it right; just make sure you're zipping the contents of the folder, not the enclosing folder, when you re-zip. Yes, you can zip then rename it to .jar.

Suggest an answer

Log in or Sign up to answer