Datageneration/I18n

Revision as of 21:04, 11 November 2020 by Unbekannt (talk | contribs) (Inital Creation short but the most important info should be there)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Lang Files can be generated by creating an extension of the File LangurageProvider class. From there you can add the Translations in the addTranslations Method, you must override.

To add a Translation you call the LanguageProvider#add method, this method takes the translation key and a String which is the displayname for the key.