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

List:       kde-devel
Subject:    Re: QUESTION: KGlobal locale setLanguage language KDatePicker
From:       Lorenzo Delana <lorenzo.delana () virgilio ! it>
Date:       2005-08-19 14:53:16
Message-ID: 200508191800.18060.lorenzo.delana () virgilio ! it
[Download RAW message or body]

Alle 23:24, giovedì 18 agosto 2005, Tomasz Grobelny ha scritto:
> 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?

perfect, many thanks for your help!

also using "it" the resulting language remain"en_US".

But now I know that the code used is something correct. :)

When I finish my little kde application I will spend some time to search where 
the problem is.

bye
Lorenzo
 
>> 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