[Geany-Devel] Comments in translation files

Lars Paulsen lars_paulsen at xxxxx
Sat Jul 29 13:10:33 UTC 2017


Hi Lex,

ignore it, found the solution on stackoverflow.com:

xgettext -k_ -D . -o - *.c

Greetings,
Lars


Am 29.07.2017 um 14:52 schrieb Lars Paulsen:
> Hi Lex,
>
> thanks for the reply. I tried to use the tool but xgettext does not 
> output any strings for me. I tried to run it like this:
>
> xgettext -D . -o - *.c
>
> Also used some variations but no success. Can you give me a hint?
>
> Thanks,
> Lars
>
> Am 29.07.2017 um 14:03 schrieb Lex Trotman:
>> On 29 July 2017 at 21:31, Lars Paulsen <lars_paulsen at web.de> wrote:
>>> Hello All,
>>>
>>> I got a question about the translation files. If I have a translated 
>>> string
>>> like in the example below, does the comment with the source location 
>>> have a
>>> meaning for the translation tool or is it "only" an information for 
>>> other
>>> developers?
>>>
>>> #. Windows
>>> #: ../webhelper/src/gwh-plugin.c:541
>>> msgid "Windows"
>>> msgstr "Fenster"
>>>
>>> Thanks for any answers in advance.
>>
>> Its a generated comment from the tool that extracts the strings to be
>> translated.
>>
>> See https://www.gnu.org/software/gettext/manual/html_node/PO-Files.html
>>
>> Cheers
>> Lex
>>
>>>
>>> Greetings,
>>> Lars
>>>
>>>
>>> _______________________________________________
>>> Devel mailing list
>>> Devel at lists.geany.org
>>> https://lists.geany.org/cgi-bin/mailman/listinfo/devel
>
> _______________________________________________
> Devel mailing list
> Devel at lists.geany.org
> https://lists.geany.org/cgi-bin/mailman/listinfo/devel



More information about the Devel mailing list