TShock/docs/lang.md
2022-10-20 02:10:31 -07:00

1.1 KiB

TShock supports automatic language detection based on your system regional settings. If you want to override this, set the TSHOCK_LANGUAGE environment variable to a different language. Currently, only a limited number of Toki Pona translations are available, by setting TSHOCK_LANGUAGE to tok. Translation work is underway to translate TShock into different languages.

If you can't load other languages, make sure that you still have a folder called i18n and that your language folder of choice contains a .mo file. If it does, those translations should load successfully if you override the language settings using TSHOCK_LANGUAGE or if you set your regional settings to the right language.

This system is separate from Terraria's language system. You may still want to pass -lang on the command line to set the language for Terraria.

The base for the i18n system was built by Janet Blackquill (@pontaoski). A small donation in her honor was made to the KDE project as a thankyou for this work.