generateTranslationFiles
private fun generateTranslationFiles(translations: Translations, modFolder: FileHandle? = null, baseTranslations: Translations? = null): HashMap<String, Int>
Content copied to clipboard
Writes new language files per Mod or for BaseRuleset - only each language that exists in translations.
Return
a map with the percentages of translated lines per language
Parameters
baseTranslations
For a mod, pass the base translations here so strings already existing there can be seen
Sources
jvm source
Link copied to clipboard