To build the latest English translation file from the YAML files:
-
Run
npm run build-translations -
web/resources/i18n/resources.en.jsoncontains web English strings (web + all packages) -
desktop/resources/i18n/resources.en.jsoncontains desktop English strings (desktop + all packages)
To build the localization translations for all languages besides English:
-
Follow the step above first (build the English file)
-
Install the latest, recommended version of nuget.exe from https://www.nuget.org/downloads at C:\Users{userName}, for instance.
-
Navigate to the root of the repository
-
Run
npm run loc:restoreto install all dependencies -
Run
npm run loc:buildto build the translations, move them to the package directories, and combine them altogether in one directory -
Run
npm run build-translationsto build the full, compiled translations for the web and desktop packages -
web/resources/i18ncontains web translations (web + all packages) -
desktop/resources/i18ncontains desktop translations (desktop + all packages)