1
0
mirror of https://github.com/louislam/uptime-kuma.git synced 2024-11-24 08:32:23 +02:00

docs: prepare for weblate

This commit is contained in:
401Unauthorized 2023-01-20 12:34:05 +08:00
parent 8128c8081b
commit 5683896910
No known key found for this signature in database
3 changed files with 4 additions and 15 deletions

View File

@ -16,7 +16,7 @@ Please delete any options that are not relevant.
- User interface (UI)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing functionality to not work as expected)
- Translation update
- ~Translation update~ (Do not accept now, as migration to [Weblate](https://weblate.kuma.pet) is WIP, see #2611)
- Other
- This change requires a documentation update

View File

@ -171,7 +171,7 @@ Check out the latest beta release here: https://github.com/louislam/uptime-kuma/
If you want to report a bug or request a new feature, feel free to open a [new issue](https://github.com/louislam/uptime-kuma/issues).
### Translations
If you want to translate Uptime Kuma into your language, please read: https://github.com/louislam/uptime-kuma/tree/master/src/languages
If you want to translate Uptime Kuma into your language, please visit [Weblate](https://weblate.kuma.pet) (WIP, see #2611).
Feel free to correct my grammar in this README, source code, or wiki, as my mother language is not English and my grammar is not that great.

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).