Localisation - naelstrof/ChurnVectorSDK GitHub Wiki

Creating a localisation text database

In order to give your mod text of any kind, Churn Vector expects string table inputs for all of its displayed text to allow for different language support. Given this you have a few options on how you want to handle this.

Its possible to use a google sheet integrated database if you want to go down the path of using a sheet to auto translate your text to other languages but this guide is going to just show the basics, if you want to make a more complex implementation there are plenty of resources on youtube to handle this.

The string table

To create a string table, first we need to open the localization tables window. You can find this here:

image

Clicking on New Table Collection we can create a String Table Collection and give it a name.

Once created you should see this window:

image

Enter a "Key" which will function as the strings name for searching later and fill in the text under the languages section, with each header representing which language setting the text will display in.

So for example, if I enter "Hello World" under english but in no other collumn, anyone selecting another language will not see it in their own language. However if I then also enter "Bonjour le monde" under French, then anyone choosing French as their language will see this instead of "Hello World"