mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-23 05:54:46 -04:00
Add language to src/main and update README
This commit is contained in:
parent
d2bf2a551d
commit
23f1a73fc8
3 changed files with 6 additions and 3 deletions
|
@ -4,8 +4,9 @@
|
|||
2. Create a language file. (e.g. `zh-TW.js`) The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm
|
||||
3. `npm run update-language-files --base-lang=de-DE`
|
||||
6. Your language file should be filled in. You can translate now.
|
||||
7. Translate `src/pages/Settings.vue` (search for a `Confirm` component with `rel="confirmDisableAuth"`)
|
||||
8. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
|
||||
7. Translate `src/pages/Settings.vue` (search for a `Confirm` component with `rel="confirmDisableAuth"`).
|
||||
8. Import your language file in `src/main.js` and add it to `languageList` constant.
|
||||
9. 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 [Issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue