From 14e266b93864cb545aceb92767f1c9d4b593440f Mon Sep 17 00:00:00 2001 From: "Veronica K. B. Olsen" <1619840+vkbo@users.noreply.github.com> Date: Sun, 2 May 2021 15:28:38 +0200 Subject: [PATCH] Update i18n README --- i18n/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/i18n/README.md b/i18n/README.md index 0b053248..82c9ccfa 100644 --- a/i18n/README.md +++ b/i18n/README.md @@ -39,6 +39,22 @@ are needed. **Note:** This requires that you have the tools Qt 5 Linguist and the PyQt5 tool `pylupdate5` installed on your system. +### Missing QtBase Translations + +The default Qt dialogs also have translations, for instance for standard buttons for "Yes", "No", +"Ok", "Cancel", etc. Generally, these translations files are installed with the Qt libraries on +your system, and novelWriter will collect those translations from there. However, these +translations are missing for many languages. + +As a starting point, there is no need to translate any entries in the `.ts` files that are under +elements starting with the letter "Q", like "QPlatformTheme", "QWizard", etc. If these turn up in +English in novelWriter after activating a translation, it means they are probably missing in the Qt +library, and you may also need to translate these. + +These additional translation entries are generated from a file named `i18n/qtbase.py`, which is not +a file that novelWriter uses. It is there only to generate these additional entries for the `.ts` +files. + ## Project Localisation Projects can have a different language setting than the GUI itself. The files with format