Ivan Bratović 9c5466890e Revert "Replace body and header placeholder functions with translations"
This reverts commit 2c85491ee011ca7f7ba655592eb292b2aa5733c7.
2021-11-29 12:40:53 +01:00
..
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-23 16:39:38 +01:00
2021-11-16 18:14:23 +09:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-17 10:45:19 +08:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-15 13:27:31 +08:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00
2021-11-12 09:29:06 +01:00

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. Run npm run update-language-files. You can also use this command to check if there are new strings to translate for your language.
  4. Your language file should be filled in. You can translate now.
  5. Translate src/components/settings/Security.vue (search for a Confirm component with rel="confirmDisableAuth").
  6. Import your language file in src/i18n.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. 😏