[Localization] How to get a test locale like kde's x-test loaded by Qt
lueck at hube-lueck.de
Thu Oct 16 12:26:57 CEST 2014
Hi Qt translators,
KDE has an internal locale called "x-test" described in the section "The x-
test language" on https://techbase.kde.org/Development/Tools
The translations for x-test are automatically generated on the KDE l10n server
each day, by adding trailing and leading "xx" to the source strings.
This locale is very useful to find untranslatable strings in the GUI at runtime
and helps even to find problems with fixed layout, because the x-test strings
are longer than the en source strings.
x-test is an internal locale in KDE, unknown to Qt and therefore Qt will
simply refuse to load a catalog from locale x-test.
Nevertheless I made x-test workable locally for me using this recipe
But that is just an ugly hack to ensure it works and it is nor fair to misuse
locale zu/Zulu for this purpose.
Is there any equivalent to the KDE locale x-test already in Qt and I did not
find it or how to get catalogs from locale named x-test loaded by Qt?
Thanks in advance
More information about the Localization