feat: Add Localization Manager
Created by: whitebear60
To add a new language to the app you need:
- Create resources/de/griefed/resources/lang/lang_
language code
.lang file. - Add
language code
to the SUPPORTED_LANGUAGES list in Reference - Translate the app!
Please keep in mind that auto fallback to English when locale key doesn't exist in current language is not implemented yet.
Now @Griefed need to replace all messages that he wants to be translatable with LocalizationManager.getLocalizedString(<translation key>)
and, obviously, add this messages to lang_en_us.lang under translation keys that are exact the same as it mentioned in code.