enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Scottish Gaelic translation


From: Erich Schubert
Subject: Re: [Enigma-devel] Scottish Gaelic translation
Date: Fri, 21 Feb 2014 11:19:34 +0100

Hi,
I don't think you need to "switch" to intltool. They should just work together.
As far as I can tell, intltool is designed as an add-on (!) to
gettext, that extracts "other" strings to translate from e.g. desktop
files; adds them to the existing .po file, and also helps updating the
template files (.desktop.in) with the translations into the output
file (.desktop) at compile time...

Using this for the .desktop file makes sense, because A) this is the
recommended and common way to handle translations of .desktop files,
and B) the translation can then be done within the existing
translation system, as opposed to having translators submit a separate
patch for the desktop file.

I'm not suggesting to use intltool for the level files.

Regards,
Erich

On Fri, Feb 21, 2014 at 10:33 AM, Fòram na Gàidhlig
<address@hidden> wrote:
> Intltool is great, but IMO it would take time to change everything over at
> this stage. Most of it would be simple leg work, but time consuming. All the
> xml files would have to be edited, adding underscores to the tags for all
> translatable strings.
>
> You already have a script that seems to be working nicely. Is it worth the
> effort of switching tools just for 1 line of text in 1 desktop file?
>
> The Debian patch adds a line in the style of:
>
> Comment[de]=Decke Steinpaare mit einer Kugel in einer Welt voller
> Hindernisse auf
>
> If that works, just point translators to this and have one of the devs
> update the file.
>
>
>
> 21/02/2014 00:50, sgrìobh Erich Schubert:
>>
>> Hello Raoul,
>> http://freedesktop.org/wiki/Software/intltool/
>>
>> intltool is the standard tool for combining gettext with various
>> non-source formats, such as XML files.
>>
>> Regards,
>> Erich
>>
>>> Speaking of translations; the enigma.desktop file (Freedesktop menu
>>> entry for Linux systems) should also be translated:
>>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667656
>>>
>>> There are tools that will include the .desktop strings in the
>>> translation data and update the .desktop at compile time with the
>>> translations.
>
>
> _______________________________________________
> Enigma-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/enigma-devel



-- 

best regards,
Erich Schubert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]