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

List:       kde-core-devel
Subject:    Re: using gettext for .desktop translations
From:       Stephan Kulow <coolo () kde ! org>
Date:       2009-12-11 17:34:43
Message-ID: 200912111834.43915.coolo () kde ! org
[Download RAW message or body]

On Friday 11 December 2009 16:48:38 Pino Toscano wrote:
> 
> > 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
The idea would be to mark in the desktop file which catalogue to load. We
could either have it all in kde_menu.mo or in kdegraphics_menu, etc. For 
openSUSE we use a big desktop_translations.mo, but it is not nice - and
translations in .desktop files win btw.

>  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)?
> 
I don't see why they would want to parse the menu structure of the DE, but
if they do I don't see a reason why they shouldn't be able to use gettext.

Greetings, Stephan

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

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