using gettext for .desktop translations

Oswald Buddenhagen ossi at
Sat Dec 12 10:20:48 GMT 2009

On Sat, Dec 12, 2009 at 04:08:19AM +0100, Chusslove Illich wrote:
> So, since dynamic translation would be defined in Gettext terms (unique
> catalog name, semantic of contexts), and given the lookup information
> needed, I'd propose the folowing field and value format:
>   GettextBinding=<basedir>:<domainname>
> The problem is that this means that .desktop files must be modified at
> install time, to insert the configured base directory. To me this looks on
> the verge of being a showstopper, but I'm not much into build systems.
> Hope someone has a better idea here :)
i don't think the problem is any different, from, say, icons. or the
desktop files themselves. so, either install the .mo files into a common
directory, or add the path to the usual xdg path.

More information about the kde-core-devel mailing list