[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] Translate .desktop files
From: |
Daiki Ueno |
Subject: |
Re: [bug-gettext] Translate .desktop files |
Date: |
Wed, 06 Nov 2013 11:14:03 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Didier Spaier <address@hidden> writes:
>> I had a look at the specification:
>> http://standards.freedesktop.org/desktop-entry-spec/latest/index.html
>>
>> it states how the localized values for keys are handled:
>> http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s04.html
>>
>> This applies only to keys that are of type localestring, listed here:
>> http://standards.freedesktop.org/desktop-entry-spec/latest/ar01s05.html
>>
>> namely: Name, GenericName, Comment, Icon, Keywords keys are of type
>> localestring.
>>
>> So I guess what you'd need is a gettext module that would list genuine
>> values of these keys, allowing translator to append [LOCALE] to key names
>> in concern and enter the value corresponding to that locale.
Thanks for the information. I guess we need to write
{read,write}-desktop.[ch] and x-desktop.[ch]. If anyone could implement
this, that would be great (I'm now a bit busy but happy to review
patches).
Regards,
--
Daiki Ueno