Language files appear not to be present in [JIRA_ROOT]/atlassian-jira/WEB-INF/lib

Rob Devereux July 3, 2012

We used to amend the language files in JIRA_ROOT /atlassian-jira/WEB-INF/lib to allow for some customisation in our Jira system. This was normally done by replacing the jira-lang-en-UK- version no. .jar file in the lib directory with a pre-configured version we had amended and this worked fine upto the end of Jira 4. However, I have noticed on upgrading to Jira 5.06 that these language files are no longer present in the lib directory and I cant find any details about where they have been relocated to.

2 answers

2 votes
Immanuel Siagian
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.
July 3, 2012

Hi Rob

Yes, you are correct, the languages pack has been removed from WEB-INF/lib directory. To modify/customize the text for the latest JIRA, you can modify JiraWebActionSupport.properties file for default English language.

To modify the other languages or JAR file, you will need to download the latest translation from https://translations.atlassian.com/.

Once you have downloaded the language pack from https://translations.atlassian.com/, you can extract the JAR file and customize the text. You can then rebuild the JAR file by running the following command:

Linux

$JAVA_HOME/bin/jar cvf JIRA-5.0.5-language-pack-de_DE-modified.jar com META-INF atlassian-plugin.xml i18n_de_DE.properties

Windows

%JAVA_HOME%\bin\jar cvf JIRA-5.0.5-language-pack-de_DE-modified.jar com META-INF atlassian-plugin.xml i18n_de_DE.properties

The above commands are just an example. Please modify the name of the jar file according to your prefered language.

Once you have modified and rebuilt the JAR file, you can then upload the JAR file into your JIRA installation via plugin. The exact steps to upload the customize text:

  1. Download the language JAR file.
  2. In the 'Administration' section of JIRA, click the 'Plugins' link and go to the 'Install' tab.
  3. Click the 'Upload Plugin' link and use the 'Browse' button to find the downloaded jar from your hard drive, and select it.
  4. Click 'Upload'.
  5. The language pack will be uploaded to JIRA and will be automatically installed as downloaded language.
  6. Instructions on changing the default language can be found here, http://confluence.atlassian.com/display/JIRA/Choosing+a+Default+Language.
  7. Instructions on changing the user's language can be found here, http://confluence.atlassian.com/display/JIRA/Choosing+a+Language

Cheers,

Immanuel

0 votes
PetraPensky January 28, 2013

Hi there.

I had problems with rebuilding the jar-File.
Folder i18n was not included.

I used WinZip to open the jar, changed the properties-File and saved the jar.

Everything looks fine after installing the langage-Jar.

You do not need to restart the server.

Greets,

Petra Pensky

Suggest an answer

Log in or Sign up to answer