-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Localization
Keldos edited this page Aug 21, 2023
·
9 revisions
Chuanhu Chat is translated to:
- English, by ina111
- Japanese, by ina111
- Korean, by 2p990i9hpral
- Swedish, by PedroGruvhagen
To translate Chuanhu Chat to another language:
- Fork the main branch
- Make a branch for the new translation as follows:
translation-xx_YYwherexx_YYis the language code (ex: en_US, ja_JP, ...) - Add a new localization
.jsonfile in thelocalfolder (You can make a copy ofen_US.jsonand rename it to your language code) - Oh, in fact, there are some strings in the
localization.jsthat also need to be translated:
https://github.com/GaiZhenbiao/ChuanhuChatGPT/blob/main/web_assets/javascript/localization.jsNote:
The language in.jsonlocale is determined by terminal environment language and config.json language setting, while the language inlocalization.jslocale file is determined by browser language setting. - Happy translating
- Add your language option notes in
config_example.json - Write a pull request on GitHub