mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-18 04:04:41 -05:00
Merge pull request #2265 from Saibamen/patch-1
Add info about `npm install` to translators
This commit is contained in:
commit
e579610426
@ -1,13 +1,14 @@
|
|||||||
# How to translate
|
# How to translate
|
||||||
|
|
||||||
1. Fork this repo.
|
1. Fork this repo.
|
||||||
2. Run `npm run update-language-files --language=<code>` where `<code>`
|
2. Run `npm install`
|
||||||
|
3. Run `npm run update-language-files --language=<code>` where `<code>`
|
||||||
is a valid ISO language code:
|
is a valid ISO language code:
|
||||||
http://www.lingoes.net/en/translator/langcode.htm. You can also use
|
http://www.lingoes.net/en/translator/langcode.htm. You can also use
|
||||||
this command to check if there are new strings to
|
this command to check if there are new strings to
|
||||||
translate for your language.
|
translate for your language.
|
||||||
3. Your language file should be filled in. You can translate now.
|
4. Your language file should be filled in. You can translate now.
|
||||||
4. Add it into `languageList` constant.
|
5. Add it into `languageList` constant.
|
||||||
5. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
|
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. 😏
|
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. 😏
|
||||||
|
Loading…
Reference in New Issue
Block a user