On Samstag, 23. Februar 2002 09:46, mh wrote: > Hi, > is it possible to load a catalogue (*.mo), which is not located in KDEs > standard location? > I.e. if I know the absolute path /some_path/bla.mo, is it then possible to > load this file through KLocale? > The only function I could find is insertCatalogue(), but it seems, that > this function assumes, that the catalogue is located in KDEs "locale" - > dir. Or shorter: Is there something like QTranslator::load() for KLocale? > You can manipulate the standard directories. E.g. KGlobal::dirs()->addResourceDir("locale", "/absolute_path"); But below the absolute_path there must be a /LC_MESSAGES/ directory. In that directory you can put whatever you put into KLocale::insertCatalogue Greetings, Stephan >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<