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

List:       kde-i18n-doc
Subject:    Re: Language fall-back: proposal for a solution
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2004-05-17 13:19:20
Message-ID: 200405171450.54114.nicolasg () snafu ! de
[Download RAW message or body]

On Sunday 16 May 2004 18:41, Heiko Evermann wrote:
> Hi Nicolas,
>
> >Oops, there is probably one problem remaining: the plurals.
>
> I have had a closer look. This might be a problem indeed. At the moment
> klocale will only remember the plural type for the main language.
>
> So we would have to remember the plural type for all installed
> languages. (e.g. in an associative array that maps iso-codes to plural
> types) And when we look up a string and find out that it contains plural
> handling, we have a look at the language where we found the translation
> and use the plural handling of that language. That might mean that
> KCatalog should get a new member variable "QString : language".

Yes, sure, but we get to change KCatalogue too, but my solution remains 
isolated to KLocale. So there is not any source ot binary compatibility 
problem and you do not risk to have to wait KDE 4. 

(Of course for binary compatibility, you could also put the new variable in 
the private class and add access member functions.)

>
> OK, it starts getting a bit complicated. Is there anything else that we
> need to consider? At the moment I still think that it is worth the effort.
>
> Kind regards,
>
> Heiko Evermann

Have a nice day!

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

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