[desktop entry spec] new FullName key

Shaun McCance shaunm at gnome.org
Mon Aug 3 07:19:48 PDT 2009


On Mon, 2009-08-03 at 09:41 +0300, John Tapsell wrote:
> > Not sure what you mean with 'supporting GenericName', but the current
> > GNOME HIG recommendations are the way they are precisely because of the
> > translatability concerns of combining Name and GenericName
> > programatically.
> 
> Could someone give an example where programmatically combining would
> fail, if the combining was done as  i18n("%1 %2")  or even i18n("%1 -
> %2")  ?

In languages that have case declensions, "%1 %2" and "%1 - %2"
could involve the GenericName being written differently.  So
you might write "Epiphany - Web Browser", but "Epiphany Webo
Browsero".  (Completely made up example, of course.)

You can't reliably translate GenericName to fit into one or
the other, because different implementations might decide to
display things differently.

--
Shaun




More information about the xdg mailing list