-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
Due to the modularization of Qt, we will end up with modules being developed and released at various times, and maintained by various groups. Translations should therefore be maintained by whoever is maintaining the individual modules.
Qt therefor needs a way to easily load all these individual module translations.
Some ways could include:
1) Meta-TS/QM files, which instructs a QTranslator to load several other
per-module translation files (most source compatible, and maybe the
easiest way to still get complete translation contributions from the
community?)
2) A QCoreApplication property, which when set (say just a locale or
something), loads the translations for each module loaded. (cleanest
solution)
3) Enable file globbing for QTranslator, f.ex.
qtranslator.load(QLatin1String("qt_*") + sysLocale, resourceDir)
- depends on
-
QTBUG-14354 [Meta task] Qt modularization project
-
- Closed
-
- relates to
-
QTBUG-15952 Make sure translations are compiled and used in each modularized repository (SP: 8)
-
- Closed
-