Skip to content

I18N Tutorial EN

宵夜 edited this page Mar 6, 2022 · 2 revisions

1.Get language excel file and export tool.

Clone this repository or download zip.
In the VRoidXYTool\VRoidXYTool\PluginI18N folder, you can found 'Language.xlsx' and 'I18NTool.exe'

2.Translate in Excel

Open the Language.xlsx, the first column is the translate key.
Each subsequent column corresponds to a language.
The first row is language name. It must be consistent with the buttons reserved in the main interface of the plug-in.
The languages listed below are available.

Afrikaans Arabic Basque Belarusian Bulgarian Catalan Chinese Czech Danish Dutch English Estonian Faroese Finnish French German Greek Hebrew Icelandic Indonesian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian SerboCroatian Slovak Slovenian Spanish Swedish Thai Turkish Ukrainian Vietnamese ChineseSimplified ChineseTraditional Hungarian

Translate according to the previous language.

3.Export txt file

When you finish translating, save the excel file, and then double-click i18ntool exe.
(Running this software requires Net 6.0 environment. If you don't have it, you can download it from Microsoft's official website https://dotnet.microsoft.com/en-us/download/dotnet/6.0)
After running exe, txt files of all language columns will be generated in the same level directory

4.Test

put txt file in VRoid Studio\BepInEx\config\XYToolI18N folder.
Open VRoidStudio and select the language you translate to check whether it works normally.

5.Share txt or pull requests

After the translation is completed, you can directly share the txt file with others and put it into VRoid Studio\BepInEx\config\XYToolI18N folder for use.
Or pull requests to make this language part of the built-in language of the plug-in.

Clone this wiki locally