From ab229615382e16501be8bc3e5b172c904d3cad4c Mon Sep 17 00:00:00 2001 From: Adam Stachowicz Date: Wed, 15 Sep 2021 21:16:22 +0200 Subject: [PATCH] More info about `update-language-files` command --- src/languages/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/languages/README.md b/src/languages/README.md index f97799176..6ba7d95eb 100644 --- a/src/languages/README.md +++ b/src/languages/README.md @@ -2,7 +2,7 @@ 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` +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/pages/Settings.vue` (search for a `Confirm` component with `rel="confirmDisableAuth"`). 6. Import your language file in `src/i18n.js` and add it to `languageList` constant.