How to translate game messages - dapucita/haxbotron GitHub Wiki

How to translate game messages

You can translate game messages easily.

Also, Korean(한국어) and Englishand translations are provided by default.

Haxbotron uses resources/strings.ts file as default, so you have to edit that file if you want to translate them.

strings.sample.en.ts file is provided as sample file.

Open strings.en.ts and copy the contents, and then paste them in strings.ts.

You have to build again for apply the changes.

npm run build

Placeholders for interpolation

Placeholders for interpolation are supported. See also Placeholders for interpolation.