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

List:       kde-i18n-doc
Subject:    Re: Translation from kxkb.po used in kcmfonts?
From:       Yukiko Bando <ybando () k6 ! dion ! ne ! jp>
Date:       2008-06-22 10:05:18
Message-ID: 200806221905.18876.ybando () k6 ! dion ! ne ! jp
[Download RAW message or body]

Chusslove Illich wrote:

> It's probably the one from joystick.po -- it would be *real* bad if it
> were _from kopete.po :)

The "Position" in joystick.po is not translated as 肩書 (person's position) so 
it's not from there. :)

> Unfortunately, it is. System Settings with all its modules is like a
> single application at any one moment; i18n system cannot discern from
> which of the loaded POs to draw a message, it can only go through all of
> them in turn and report first that matches. Albert was examining
> yesterday if it would be possible to pull a trick or two for the System
> Settings itself, but we dropped that because this is a more general
> problem. It may happen anywhere where a core app loads some modules at
> runtime (e.g. in Okular too), or uses another KDE library.

I see. 

> The real, general fix would be to extend i18n system such that
> programmers can state a particular catalog together with the message
> (think of it as "inter-catalog context") for every message in loadable
> modules and libraries. This is what Gettext itself suggests and provides
> for such cases; it would not be hard to extend that to KDE's i18n, what
> would be hard is updating the existing code and pushing programmers to
> use it from now on :)
>
> So I thougt, let's just patch up along the way with contexts...

OK. I'll report to this list when I see other inter-catalog mix-ups. 

Thanks.

Yukiko




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

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