Localization Tutorial - outdated?

Hi there,

we are using youtrack standalone 7.0 (Build 27777).

We wanted to change some translations in the german locale to fit our needs better, and reading through your Localisation Tutorial it looked like a faily easy job > search for the de_DE folder and do some changes (overwrite) or re-upload the folder as de_CH and enable the language via the supportedLocales.xml file.

Here are the problems I had:

- The file path given under the "Copy Translated Files to Your YouTrack Server" header in your documentation does not exist! There is no such path within youtrack 7.0: "YouTrack\webapps\ROOT\WEB-INF\classes\translations".

The closest path I could find was: "apps/youtrack/web/WEB-INF/classes/jetbrains/youtrack/webapp/" - but this is probably wrong.

There are no locale folders for the already included languages (eg: de_DE) anywhere in the youtrack app folder. The closest I could find was: "apps/youtrack/web/WEB-INF/classes/jetbrains/youtrack/webapp/" which includes 4 .json language files:

- locale_de.json
- locale_es.json
- locale_fr.json
- locale_ru.json

To create our own version of the German locale is a bit overkill if all we want is to change 1 or 2 terms.

No 'supportedLocales.xml' file is found anywhere in the yourtrack app to enable your custom language.

 

Please could you clarify how one can edit, replace or create a new locale?

Thanks in advance.

// edit:

I just edited the locale_de.json and it works. However the documentation adding a totally new locale still does not make any sense and where do I find the included notification templates for installed languages?

Thanks to Armands Pavlovskis who provided me with an answer over in the issues: https://youtrack.jetbrains.com/issue/JT-39278

I have yet to try this however and it doesn't solve the problem of having to translate the complete messages.zip if I only want to change a couple of words of pre-installed locales. How about fixing the documentation?

1 comment
Comment actions Permalink
Official comment

Hello, thank you for your questions and sorry for the delay.

The Localisation Tutorial is really a little outdated, that is true. We already have a task for our documentation team to update it.

Do you have any questions left that I could possibly answer?

Please sign in to leave a comment.