loudsmilestudios/TetraForce

Implement Locale System

Opened this issue · 2 comments

Description

We need a way to manage different languages with translations provided by the community.

I think the best way to do this would be by adding a drop down selection in the player settings that decides which json files to use (and perhaps also tying into Godot's built in locale tools). This config setting should be saved. Additionally, if a translation cannot be found, the text should default to using the English translation, as other languages are not guaranteed to have a proper translation.

This sounds interesting.
I can contribute with languages that I personally know like Spanish (ES) and Dutch (NL) too
I don't think Godot's Localization options are too complex to add.

This sounds interesting. I can contribute with languages that I personally know like Spanish (ES) and Dutch (NL) too I don't think Godot's Localization options are too complex to add.

Hi @nirux, you're welcome to give it a look! There are JSON files in the dialogue directory that would need to be swapped out based upon the locale settings. With #343, there are JSON additional language added that could be used for testing.

Pretty much need that locale configuration exposed to the options page and hooked into the JSON files.