Datageneration/I18n

From Forge Community Wiki
Revision as of 06:56, 13 February 2021 by Ravenbuilder934 (talk | contribs) (Minor grammar fixes)

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, which you must override.

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