-
Notifications
You must be signed in to change notification settings - Fork 8
Description
Preface
This issue will keep track of localization across all of the masterlists & the program itself. It will also serve as a hub for translators to discuss translations & ask for help. If you need context for any message, please file an issue at LOOT's source code issue tracker. There is also a dedicated translations channel in our Discord server if you prefer discussing translations that way. Please, don't be afraid to ask for help. We're more than happy to provide it & are deeply grateful for any contribution. You'll also be mentioned in our credits if you aren't already.
LOOT Localization
Localization for Your Language
Comprehensive instructions for localizing the program for your language are available at this Contributing readme. If you're not familiar with making a pull request or using Git in general, we have a guide that explains the basics of the process. We're also always happy to help if you're having trouble.
If you feel uncomfortable with the process or don't have the time, you can download the template here. Then, go to the resources/l10n folder of LOOT's repo & navigate to the folder corresponding to your language if it exists (see below for what language each code represents) to download its loot.po file. Finally, only follow the steps from the Contributing readme about using Poedit to translate the app & send us your updated or new loot.po file instead; we can update or add your language's localization for you.
LOOT Localization Progress
These are the languages LOOT currently supports:
| Locale Code | Language |
|---|---|
bg |
Bulgarian |
cs |
Czech |
da |
Danish |
de |
German |
es |
Spanish |
fi |
Finnish |
fr |
French |
it |
Italian |
ja |
Japanese |
ko |
Korean |
pl |
Polish |
pt_BR |
Portuguese (Brazil) |
pt_PT |
Portuguese |
ru |
Russian |
sv |
Swedish |
ta |
Tamil |
tk_TK |
Turkish |
uk_UA |
Ukrainian |
zh_CN |
Chinese (Simplified) |
Note: languages added recently may not be included in the latest stable release of LOOT, but they will be in the update following their addition. This applies to translation updates as well.
Note: if your language isn't listed, you can always add your language by following the instructions in the article linked above. Please, feel free to double-check the localization for your language even if it's complete.
Masterlist Localization
The Masterlist Prelude
With the introduction of the masterlist prelude in LOOT v0.17.0, translating masterlist messages is significantly more streamlined. You can now make a single pull request to the prelude repository with translations for all of the messages there, & LOOT will essentially be able to distribute them to each masterlist at runtime.
How masterlists handle language can be read about here, but you basically need to find the lang key with your language's locale code (e.g., de for German, es for Spanish, zh_CN for Simplified Chinese) & update the text key with your translation. If one doesn't exist for a given message, you can add one using other translations as a template. The localized content data structures should be sorted alphabetically by locale code with the exception of en at the beginning since it is LOOT's default language.
Note: if your language isn't currently supported by LOOT, you need to add support for it first before translating the masterlist prelude. Adding support is discussed in the readme linked to earlier.
Weblate
LOOT can also be translated by using Weblate and this includes the LOOT application itself, the Prelude as well as the Installer.