From 5683896910a129c6e2d5e2467f99d9c0a6b0099c Mon Sep 17 00:00:00 2001 From: 401Unauthorized Date: Fri, 20 Jan 2023 12:34:05 +0800 Subject: [PATCH] docs: prepare for weblate --- .github/PULL_REQUEST_TEMPLATE.md | 2 +- README.md | 2 +- src/languages/README.md | 15 ++------------- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 4d2105d49..6bbbf1fdc 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -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 diff --git a/README.md b/README.md index b1a0928c8..1bb9b02a9 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/languages/README.md b/src/languages/README.md index c217ea0f4..cf3aedbcc 100644 --- a/src/languages/README.md +++ b/src/languages/README.md @@ -1,14 +1,3 @@ -# How to translate +# Note -1. Fork this repo. -2. Run `npm install` -3. Run `npm run update-language-files --language=` where `` - 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).