how to translate .desktop files for multimedia-menus

Orcan Ogetbil oget.fedora at gmail.com
Mon Aug 10 06:38:28 UTC 2009


On Sun, Aug 9, 2009 at 11:41 PM, Asgeir Frimannsson wrote:
> ----- "Orcan Ogetbil"  wrote:
>> On Sun, Aug 9, 2009 at 10:11 PM, Dimitris Glezos wrote:
>> >
>> > If there's a tool to convert a .desktop file into a POT file, and
>> then
>> > host this on fedorahosted, we could set it up pretty easily.
>> >
>>
>> Alright. I believe that I can produce a .pot file from the .desktop
>> files via xgettext. How about the other way around? Is there a .po
>> file parser that I can use to put the translated strings back into
>> the
>> .desktop files?
>>
>>
>> If there's such a parser, I can write a simple Makefile to generate
>> the final .desktop files. Otherwise I'll write my own parser.
>
> You can do this extraction/merging easily with intltool, and let translators work with PO files.
>
> Feel free to catch me on IRC if you need any clarification.
>

Thank you Dimitris and Asgeir,

I set up the intltool mechanism for this package. Now I am waiting for
the hosting to be available at fedorahosted [1]. Let me know if there
is anything else I should do meanwhile.

Orcan

[1] https://fedorahosted.org/fedora-infrastructure/ticket/1596




More information about the Fedora-trans-list mailing list