From kde-i18n-doc Sun May 16 11:31:17 2004 From: Nicolas Goutte Date: Sun, 16 May 2004 11:31:17 +0000 To: kde-i18n-doc Subject: Re: Language fall-back: proposal for a solution Message-Id: <200405161331.17165.nicolasg () snafu ! de> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=108470711819005 On Sunday 16 May 2004 12:09, Nicolas Goutte wrote: > On Sunday 16 May 2004 00:15, Heiko Evermann wrote: (...) > > > KLocale::initCatalogue > > loads kdelibs.mo and kio.mo with these two lines > > > > // always include kdelibs's mo files > > d->catalogues.append( KCatalogue( SYSTEM_MESSAGES ) ); > > d->catalogues.append( KCatalogue( "kio" ) ); > > > > Yes, but this code means that you cannot restrict the discussion to KLocale > but you have to look further, at least to KCatalogue (and perhaps even to > kdelibs/kdecore/libintl.cpp .) Similar with the following member function. Here too the work is done "one floor lower" in the class KCatalogue void KLocale::insertCatalogue( const QString & catalog ) { KCatalogue cat( catalog ); initCatalogue( cat ); d->catalogues.append( cat ); } (...) > > > Kind regards, > > > > Heiko Evermann > > (Low Saxon translation team) > > Have a nice day!