Skip to content

Translation

Aaron Schultz edited this page Oct 6, 2023 · 2 revisions

Add a language yourself

How it works To add your language, you only need to create or adapt a file in the Languages directory. The file must always have the language code.

Example:

en-US.xml You can find language codes here: https://www.andiamo.co.uk/resources/iso-language-codes/

Create file

Copy the en-US file and change everything, then all APP-CODES should be available.

<translation name = "EVERY_3_DAYS">HERE YOUR TEXT</translation>

Values in curly brackets

Text can be replaced if these brackets are specified with a value name inside them {VALUE} These brackets and the text inside them must always remain the same, in any language, they will then be replaced in the program with numbers or other important dynamic values.

Information for the file

New translations are always added at the end. So if you compare the English (the most recent) with another translation, the most recent will always be displayed at the end.

How to share your translation with all people?

Creating pull request on GitHub Repo in dev branch. https://github.com/Triky313/AlbionOnline-StatisticsAnalysis

Be sure to follow the rules of pull requests.