diff --git a/docs/modders/Translations.md b/docs/modders/Translations.md index bc3aa42e9..7eeaa7ed9 100644 --- a/docs/modders/Translations.md +++ b/docs/modders/Translations.md @@ -82,6 +82,7 @@ VCMI Launcher and Map Editor use translation system provided by Qt framework so - Install Qt Linguist. You can find find standalone version here: https://download.qt.io/linguist_releases/ - Open `/launcher/translation/` directory, copy `english.ts` file and rename it to your language +- Open `/launcher/CMakeLists.txt` file with a text editor. In there you need to find list of existing translation files and add new file to the list. - Launch Qt Linguist, select Open and navigate to your copied file - Select any untranslated string, enter translation in field below, and click "Done and Next" (Ctrl+Return) to navigate to next untranslated string - Once translation has been finished, save resulting file. diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 0eb22e284..1432b1b90 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -83,6 +83,7 @@ set(launcher_TS "${translationsDir}/portuguese.ts" "${translationsDir}/russian.ts" "${translationsDir}/spanish.ts" + "${translationsDir}/swedish.ts" "${translationsDir}/ukrainian.ts" "${translationsDir}/vietnamese.ts" )