Skip to content

Basic Integration

queue edited this page Jun 1, 2025 · 1 revision

Yapping

Ever had someone ask to translate your mod into a language, but that language was not supported in tModLoader by default? Maybe you're the one who wanted to translate your/a mod into a language that wasn't supported, and you couldn't find an easy way to do so?

The previous two scenarios are actually the whole reason for Localization Plus' existence. Someone came into our Discord asking to translate our mod into Korean, and I wasn't about to let a community member's passion go to waste.

image
'...say that again?'

So that's what I did. Localization Plus effectively allows you, as a mod developer, to implement localization for these new custom languages in the exact same way you do for the vanilla languages.

Explanation

For ease of use, Localization Plus is designed with one-to-one compatibility with vanilla's language options in mind, and this includes the way of implementing localization in your mod.

If you've already added localization to your mod for a language like Spanish, French, Russian, etc., you already know exactly how to add support for one of Localization Plus' custom languages. If you don't, read this.

All of the language codes for languages added by Localization Plus are listed in this repository's README.md

Demo

For this demo, I am using the Terramon Mod, which already uses Localization Plus to add Korean localization, as an example.

Terramon structures its localization files like this:

The localization folder contains sub-folders, each named after their language code.

Upon closer inspection, we can see that the Korean localization files are structured the exact same way:

The it-IT and ko-KR folders contain the same files.

And their contents as well:

The files are internally structured the same as well.

And yes, it just works.

Terramon's Pokédex UI is seen using Korean localization in-game.

Conclusion

To recap, simply add the localization files needed (using the language code you want), and now, those localizations will work for whoever uses the correct language option from Localization Plus' language menu.

Clone this wiki locally