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

List:       kde-devel
Subject:    Re: QUESTION: KGlobal locale setLanguage language KDatePicker
From:       Tomasz Grobelny <grotk () poczta ! onet ! pl>
Date:       2005-08-18 21:24:49
Message-ID: 200508182324.50119.grotk () poczta ! onet ! pl
[Download RAW message or body]

On Thursday 18 August 2005 20:34, Lorenzo Delana wrote:
> Alle 16:43, mercoledì 17 agosto 2005, Tomasz Grobelny ha scritto:
> > On Wednesday 17 August 2005 17:21, Lorenzo Delana wrote:
> > > I setup my application using #include <kapplication.h> and starting up
> > > KApplication app (_argc _argv, "name");
> > >
> > > What problem maybe that I cannot change language of KDE library... ??
> >
> > Do you have name.mo installed?
>
> note that kaddressbook, that use KDatePicker works with correct
> translation, so I think that all translation files (.mo) are correctly
> installed.
>
> Here complete code to try:
> (...)
> Result in:
> --------------------
> outputting language list
> it, en_US, it_IT@euro, en
> switching locale to 'it_IT@euro'
> current language is...
> en_US <------------------------- may be "it_IT@euro"
   you wanted to write "should"?   ^^^
For me executing the above code results in:
$ ./a.out
outputting language list
en_US
switching locale to 'it_IT@euro'
current language is...
it_IT@euro
$ 
even if I don't have "it_IT@euro" installed. Weird. BTW, does setting "it" 
work ok?
-- 
Regards,
Tomasz Grobelny
 
>> 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