[Geany-Devel] Comments in translation files
lars_paulsen at xxxxx
Sun Jul 30 07:57:07 UTC 2017
yes, e.g. _("Hello World!").
Strings get translated properly if I add them to the translation
completely manually e.g. into "de.po".
After you mentioned the tool I thought that that should also be possible
using the makefiles.
Or is the makefile only updating the strings and not adding new ones?
But I saw untranslated strings from other plugins so I assume the first
is wrong and it should also add new strings.
Am 30.07.2017 um 00:35 schrieb Lex Trotman:
> On 30 July 2017 at 00:07, Lars Paulsen <lars_paulsen at web.de> wrote:
>> Hello All,
>> I solved my problem with running xgettext from the command line.
>> But I got one question left:
>> How can I update the language files using the geany-plugins makefile?
>> My own plugin is build and installed properly if I run "make" and "make
>> install". I also added my source files to "POTFILES.IN" which makes them
>> appear in "POTFILES" after buidling. I also ran "make update-po" inside the
>> "po" folder but my plugin's strings do not appear in any ".po" files.
> Have to ask the obvious question first, you have marked the strings as
>> Am 29.07.2017 um 15:10 schrieb Lars Paulsen:
>>> Hi Lex,
>>> ignore it, found the solution on stackoverflow.com:
>>> xgettext -k_ -D . -o - *.c
>> Devel mailing list
>> Devel at lists.geany.org
> Devel mailing list
> Devel at lists.geany.org
More information about the Devel