Finding local translations?

Alexander Potashev aspotashev at gmail.com
Sat Apr 9 17:54:37 UTC 2016


2016-04-07 12:56 GMT+03:00 Boudewijn Rempt <boud at valdyas.org>:
> However, KCatalog::catalogLocaleDir is run before the main runs,
> and uses QStandardPaths to find the location of the translations.
> That's before the XDG_DATA_DIRS environment variable is set.

You can use a wrapper application that runs Krita with XDG_DATA_DIRS
set to whatever appropriate. Of course this is dirty, and we should
instead support custom paths to .mo files in KI18n.

-- 
Alexander Potashev


More information about the Kde-frameworks-devel mailing list