diff options
| author | Albin <albin@mullvad.net> | 2022-07-26 09:44:42 +0200 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2022-07-29 12:15:34 +0200 |
| commit | 2a0b9748ea4a8bcd46840f8d6f9432eb3dccaf85 (patch) | |
| tree | 0bbb032d11218c5d65df833799e54cf5474b4bc9 | |
| parent | 0755755b7447479dbfa80ada2012fefd419f3c74 (diff) | |
| download | mullvadvpn-2a0b9748ea4a8bcd46840f8d6f9432eb3dccaf85.tar.xz mullvadvpn-2a0b9748ea4a8bcd46840f8d6f9432eb3dccaf85.zip | |
Update localization readme
| -rw-r--r-- | gui/locales/README.md | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/gui/locales/README.md b/gui/locales/README.md index bd40ce78e0..422a37fd6e 100644 --- a/gui/locales/README.md +++ b/gui/locales/README.md @@ -38,7 +38,18 @@ This is a folder with gettext translations for Mullvad VPN app. 1. Add the language to `SUPPORTED_LOCALE_LIST` in `app.tsx`. -## Updating translations template +## Sync localizations + +Use the localization script to sync localizations by running the following command from the +root-directory: +``` +./scripts/localization sync-local-files +``` + +It will sync `messages.pot` with localization strings in the desktop app and Android app to ensure +all local files are in sync. + +## Prepare strings for Crowdin translation Use the localization script to prepare the pot-files by running the following command from the root-directory: @@ -46,9 +57,8 @@ root-directory: ./scripts/localization prepare ``` -It will update `messages.pot` with localization strings from both the desktop app and Android app, -and will update `relay-localizations.pot`. The changes to each file will also be committed -individually. +It will sync `messages.pot` with localization strings in the desktop app and Android app, and will +update `relay-localizations.pot`. The changes to each file will also be committed individually. ## Uploading translations template to Crowdin |
