Add Translation Data - matyalatte/Blender-Uasset-Addon GitHub Wiki

The addon supports translation system. You can easily add translation data for your language.

1. Make a .json file

Make translation data as a .json file. The format is as follows.

{
    "language": "your_language",
    "file_name1.py": {
        "eng text 1": "translated text 1",
        "eng text 2": "translated text 2"
    },
    "file_name2.py": {
        "eng text 3": "translated text 2",
        "eng text 4": "translated text 4"
    }
}

See Japanese.json for an example.

2. Put in translation folder

Put the json file in blender_uasset_addon/translations. Blender can use it to replace English text with your language.