KStandardDirs and locale path

Sebastian Kügler sebas at kde.org
Wed Jul 10 02:14:19 UTC 2013


Hi,

Example code:

const QString translationsPath = package->filePath("translations");
KGlobal::dirs()->addResourceDir("locale", translationsPath);
KLocalizedString::insertCatalog(dataEngineDescription.pluginName());

Question: 

How to port to QStandardPaths, i.e. where to insert the translations path?

Thanks =)
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Kde-frameworks-devel mailing list