add language file preparation script

This commit is contained in:
LouisLam
2021-09-01 17:08:27 +08:00
parent 22095c09b1
commit ad38e61c26
9 changed files with 195 additions and 11 deletions

View File

@@ -2,10 +2,9 @@
1. Fork this repo.
2. Create a language file. (e.g. zh-TW.js) The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm
3. `npm run update-language-file`
4. Your language file should be filled in. You can now translate now.
5. Make a pull request when you have done.
3. `npm run update-language-files --base-lang=de-DE`
6. Your language file should be filled in. You can translate now.
7. Make a pull request when you have done.
If you do not have programming skills, let me know in Issue section. I will assist you. 😏