On Sun, May 25, 2014, at 2:05, Albert Astals Cid wrote: > El Dissabte, 17 de maig de 2014, a les 18:21:16, Lasse Liehu va escriure: > > Hi > > > > Translations for frameworks are loaded automatically when they are > > used, but what about Qt 5 itself? Are those translations loaded and if > > not, how should they be loaded? > > They are loaded "manually", i.e. if you look at qt designer code it does > > translatorFileName = QStringLiteral("qt_"); > translatorFileName += localSysName; > qtTranslator->load(translatorFileName, resourceDir); > > Now i think we should do this automagically, since well, we need this for > all > apps and people will forget. The big question is where to put this code. > > Aurelien any idea?
Not sure where we could put this. Frameworks load their translations, I believe it should be up to Qt to load its own translations. The only framework where it could maybe make sense to add such feature is in KI18n, but even there it feels a bit out of place. Aurélien _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel