On Wed, 13 Oct 2010 02:11:46 +0300 Ulisses Furquim <ulisses@...>
said:
> Hi,
>
> On Wed, Oct 13, 2010 at 1:25 AM, Carsten Haitzler <raster@...>
> wrote:
> > On Mon, 11 Oct 2010 19:39:56 +0400 batden <batden@...> said:
> >
> > that contains translations for specific applications and toolsets etc. not
> > 1 mo per app at all (no way to know how the .desktop file maps to some
> > specific .mo to open). what mo file contains the translations? if what you
> > say is true - the .mo translations are used to GENERATe the.desktop files -
> > then the .desktop files should have all the translations in them. they
> > don't.
> >
> > so where is the magic .mo or set of .mo's that need to be loaded and used?
> > and don't tell me "every .mo in the langpack local dir needs to be loaded"
> > as thats just not going to happen :)
>
> In Ubuntu they're using a "X-Ubuntu-Gettext-Domain" key in the
> .desktop file to specify the translation domain for gettext. :-) Other
> distros must be using something similar.
but gnome-terminal.mo... doesn't exist for most locales. ffor example for
gnome-terminal. same with inkscape, or gimp... the only ones i see are for en_*
- n de, fr, es, pt, ja, ko... etc.
that mo can be sanely used for the app - but a launcher/menu having to load an
extra N .mo files (1 per app/desktop) just to get 1, 2 or 3 strings from them
for the .desktop... that seems a wonderfully extreme way to do this. and
evidence doesn't show that this is the case - at least here on 10.04
--
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler) raster@...
|