mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 14:39:51 -08:00
.. | ||
bg-BG.js | ||
da-DK.js | ||
de-DE.js | ||
en.js | ||
es-ES.js | ||
et-EE.js | ||
fa.js | ||
fr-FR.js | ||
hr-HR.js | ||
hu.js | ||
id-ID.js | ||
it-IT.js | ||
ja.js | ||
ko-KR.js | ||
nb-NO.js | ||
nl-NL.js | ||
pl.js | ||
pt-BR.js | ||
README.md | ||
ru-RU.js | ||
sr-latn.js | ||
sr.js | ||
sv-SE.js | ||
tr-TR.js | ||
vi.js | ||
zh-CN.js | ||
zh-HK.js | ||
zh-TW.js |
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 - Run
npm run update-language-files
. You can also use this command to check if there are new strings to translate for your language. - Your language file should be filled in. You can translate now.
- Translate
src/components/settings/Security.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. 😏