uptime-kuma/src/languages/README.md
2021-09-03 17:09:11 +08:00

803 B

How to translate

  1. Fork this repo.
  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
  4. Your language file should be filled in. You can translate now.
  5. Translate src/pages/Settings.vue (search for a Confirm component with rel="confirmDisableAuth").
  6. Import your language file in src/main.js and add it to languageList constant.
  7. 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. 😏