|
|
@ -5,10 +5,7 @@
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
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"`).
|
|
|
|
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.
|
|
|
|
6. Add it into `languageList` constant.
|
|
|
|
7. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) when you have done.
|
|
|
|
7. Make a [pull request](https://github.com/louislam/uptime-kuma/pulls) 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](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
|
|
|
|
If you do not have programming skills, let me know in [Issues section](https://github.com/louislam/uptime-kuma/issues). I will assist you. 😏
|
|
|
|