summaryrefslogtreecommitdiffstats
path: root/src/lang/README.md
blob: 8c9b2379f0171358e283e8292450f016356a7e27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Translations

## How to translate

(2023-01-24 Updated)

1. Go to [https://weblate.kuma.pet](https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/)
2. Register an account on Weblate
3. Make sure your GitHub email is matched with Weblate's account, so that it could show you as a contributor on GitHub
4. Choose your language on Weblate and start translating.

## How to add a new language in the dropdown

1. Add your language at https://weblate.kuma.pet/projects/uptime-kuma/uptime-kuma/
2. Find the language code (You can find it at the end of the URL)
3. Go to https://github.com/louislam/uptime-kuma/blob/master/src/i18n.js and click `Edit` icon
4. Add your language at the end of `languageList`, format: `"zh-TW": "繁體中文 (台灣)",`
5. Commit and make a pull request for me to approve

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