Skip to content

Language file

op200 edited this page Oct 16, 2025 · 5 revisions

How to use

Create translation file in ./ or the config open dir

file.stem: lang_lang-tag
file.suffix: .json or .toml
e.g. lang_zh-Hant-HK.toml

Eexample

TOML

lang_en-GB.toml

# US -> GB
"I left my ​​trunk​​ in the ​​elevator​​ of my ​​apartment​​ ​​building​​." = "I left my ​​boot​​ in the ​​lift​​ of my ​​flat​​ ​​block​​."

JSON

lang_zh-Hant-TW.json

{
  "help doc": "幫助文件",
  "org lang": "原語言"
}

Clone this wiki locally