Error when uploading a language pack for Jira Server

Arthur
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 24, 2020

I followed this article to update and change a language pack: https://confluence.atlassian.com/jirakb/install-a-custom-language-pack-for-jira-server-295305642.html

I changed the .jar ending to .zip and then unpacked it. After that I opened a specific property file, changed some values and then zipped the folder back and changed the ending to .jar again.

When I upload the language pack via UPM:

Bildschirmfoto 2020-07-24 um 10.20.31.png

jira throws this error:

Bildschirmfoto 2020-07-24 um 10.22.06.png

Could not install the file jira-core-language-pack-de_DE-8.0.0.v20190201000500.jar. Check that the file is valid.

I also checked that I downloaded the correct version of the language pack, by checking the versions of the existing language packs in my jira instance.

So, what am I doing wrong? 

Or is there another way to do it? 

Thanks in advance!

 

1 answer

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 24, 2020

I have run into this when using zip utilities to re-pack files.   Try using the java command "jar" to recreate new jar files, rather than zip and rename.

Arthur
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.
November 26, 2020

oh, somehow I didn't see your answer o.0 Thanks for the tip, will see if it works when I get to it 

Suggest an answer

Log in or Sign up to answer