Let ki18n report the list of available translations of the application
Review Request #112401 - Created Aug. 31, 2013 and submitted
Add the static method KLocalizedString::availableApplicationTranslations that reports the list of language codes for which there exists the translation catalog for application's domain (as set by KLocalizedString::setApplicationDomain). This allows client code e.g. to offer a language switching feature in an application.
Unit test supplied.
Review request changed
I agree that QSet<QString> is a more natural return type for KLocalizedString::availableApplicationTranslations. Having QStringList there was more an atavism of earlier API elements.
Revision 2 (+76 -4)