docs: prepare for weblate

This commit is contained in:
401Unauthorized
2023-01-20 12:34:05 +08:00
parent 8128c8081b
commit 5683896910
3 changed files with 4 additions and 15 deletions

View File

@@ -1,14 +1,3 @@
# How to translate
# Note
1. Fork this repo.
2. Run `npm install`
3. Run `npm run update-language-files --language=<code>` where `<code>`
is a valid ISO language code:
http://www.lingoes.net/en/translator/langcode.htm. You can also use
this command to check if there are new strings to
translate for your language.
4. Your language file should be filled in. You can translate now.
5. Add it into `languageList` constant.
6. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
If you do not have programming skills, let me know in [the issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
Translation in this folder is not in use. We are migrating translation workflow to [Weblate](https://weblate.kuma.pet) (WIP, see #2611).