Desktop Entry Specification
Rodney Dawes
dobey at novell.com
Tue May 24 19:26:51 EEST 2005
Hi,
I'm not sure I understand your problem, but this looks like a question
mainly for the intltool list. You want the translations for the desktop
files to be looked up inside of a mo file, like say, gedit-foo.mo,
rather than gedit.mo? I don't see any need to do things this way. What
about the current method isn't ideal? I'd rather figure out what the
exact problem is, rather than just going off and implementing a feature
that you think might fix some behavior for you only.
I've been on vacation all week, or I would have replied a bit sooner.
I don't think as an end result, we should be splitting the .desktop
files out into multiple files for translation purposes though, just so
that you can split them up into separate packages.
-- dobey
On Sun, 2005-05-22 at 03:13 +0900, Takao Fujiwara wrote:
> Hi All,
>
> Thanks for your replies.
> I would like to clarify my idea.
>
> [Desktop Entry]
> Encoding=UTF-8
> #_Name="English_Tag"
> Name="English_Tag"
> #_Comment="English_Tag"
> Comment="English_Tag"
> Exec="Command"
> X-GETTEXT_PACKAGE="MO_File_Name"
>
> The reason I added "#_tag" is we don't treat .desktop files only.
> E.g. Gedit has *.plugin files the tags are "Name" and "Description". The
> first filename is hoo.plugin.desktop.in and it will be chaned to
> hoo.plugin. Some modules has the similar implimentations. Then when we
> see .desktop files on installed image, we need to expect which tags are
> translated tags so I thoght to provide "#_tag" and mo file tag.
>
> What do you think? Could you advice me?
>
> Thanks,
> fujiwara
>
More information about the xdg
mailing list