mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-03 18:07:44 -08:00
79920b5f2c
Fix ESLint deprecated warning. Update `README.md` for languages. Update `update-language-files` script
796 B
796 B
How to translate
- Fork this repo.
- Create a language file (e.g.
zh-TW.js
). The filename must be ISO language code: http://www.lingoes.net/en/translator/langcode.htm npm run update-language-files --base-lang=en
- Your language file should be filled in. You can translate now.
- Translate
src/pages/Settings.vue
(search for aConfirm
component withrel="confirmDisableAuth"
). - Import your language file in
src/i18n.js
and add it tolanguageList
constant. - Make a pull request when you have done.
One of good examples: https://github.com/louislam/uptime-kuma/pull/316/files
If you do not have programming skills, let me know in Issues section. I will assist you. 😏