You've already forked Tricky-Addon-Update-Target-List
mirror of
https://github.com/KOWX712/Tricky-Addon-Update-Target-List.git
synced 2025-09-06 06:37:09 +00:00
opt: update translation guide
migrate to Crowdin
This commit is contained in:
@@ -2,24 +2,11 @@
|
||||
|
||||
## Update Existing Language
|
||||
|
||||
1. [Fork this repository](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/fork).
|
||||
2. Find your language string file in `module/webui/locales/strings`.
|
||||
3. Edit the string value that translated incorrectly or add missing translation field.
|
||||
4. Make a Pull Request.
|
||||
- Update translation in [Crowdin](https://crowdin.com/project/TA_utl).
|
||||
|
||||
---
|
||||
|
||||
## Add a New Language
|
||||
|
||||
### Simple
|
||||
|
||||
- Contact me in Telegram to add a new translation langauge.
|
||||
|
||||
### Advanced
|
||||
|
||||
1. [Fork this repository](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/fork).
|
||||
2. Copy `module/webui/locales/template.xml` to strings folder.
|
||||
3. Rename it to `language_code.xml` or `language_code-REGION_CODE.xml`, e.g., `en.xml` or `zh-CN.xml`.
|
||||
4. Translate the string value inside.
|
||||
5. Add the language to `module/webui/locales/languages.json`, this step is necessary for displaying your language in WebUI.
|
||||
6. Make a Pull Request.
|
||||
- Create you translation based on [template](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/blob/main/module/webui/locales/template.xml).
|
||||
- Create an [issues](https://github.com/KOWX712/Tricky-Addon-Update-Target-List/issues/new/choose) for language request and upload translated file.
|
||||
|
||||
Reference in New Issue
Block a user