[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: klocale problems
From:       David Faure <faure () kde ! org>
Date:       2005-07-28 21:36:16
Message-ID: 200507282336.19435.faure () kde ! org
[Download RAW message or body]

On Thursday 28 July 2005 23:16, Tomasz Grobelny wrote:
> What does such a code output on your systems? And why even if my entire KDE is 
> localized (Polish) it returns only en_US? TIA
> #include <klocale.h>
> #include <iostream>
> #include <kapplication.h>
> #include <kglobal.h>
> using namespace std;
> int main(int argc, char** argv)
> {
>     KApplication test(argc, argv, "test");

Because you don't have a test.mo installed.
A language is available only if the application is translated in that language.
Try "kdesktop" instead of "test" :)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic