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

List:       kde-core-devel
Subject:    Re: using gettext for .desktop translations
From:       Pino Toscano <pino () kde ! org>
Date:       2009-12-11 15:48:38
Message-ID: 200912111648.48630.pino () kde ! org
[Download RAW message or body]


Hi,

> Currently .desktop translations are kept in-file rather than using
> gettext .po/.mo files as every other translation does.

Yes and no, we use .po files and gettext as intermediate step (for 
translators) instead of being the final result.

> This adds
> extra complexity to application's translation infrastucture.  Although
> KDE SVN has its own ways of coverting to and back from .po files third
> party apps don't.

Yes and no, our scripts (and the apply.c source) are public, so they could be 
adapted.

> It also means distributions can't easily ship updated translations.

Surely not.

> Both Ubuntu and openSUSE patch KDE and Gnome to
> make them use translations from gettext instead of .desktop files.

Translations from where? Which format?
If tomorrow I install eg a GNOME application in my KDE, where will the KDE 
menu look for the translations of the entries of the .desktop file of the 
application? The same applies of course in the other way round, and in general 
for any XDG menu implementation. This is als why IMO having translations in 
.desktop files (not DE specific) is a good solution so far.
And if the application does not use gettext at all for its translations (for 
example with Qt-only or Java applications)?

> Should we consider changing the way these translations are done?

Personally, I don't see why.

> I believe the glib maintainers are looking at this too.

Frankly, who cares? :)

-- 
Pino Toscano

["signature.asc" (application/pgp-signature)]

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

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