Hi Lex,
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.
Greetings,
Lars
Am 30.07.2017 um 00:35 schrieb Lex Trotman:
On 30 July 2017 at 00:07, Lars Paulsen <lars_paul...@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
translatable?
Cheers
Lex
Regards,
Lars
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
Greetings,
Lars
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel