Extract: No phrases to translate
kisvegabor opened this issue · 4 comments
kisvegabor commented
I attached a super simple code which I use to test. i18n_test.zip
On lv_i18n extract -s './**.+(c|cpp|h|hpp)' -t './*.yml'
I get No phrases to translate
puzrin commented
Try temporary:
printf(_("msgid1"));
=> printf( _("msgid1") );
Current regexes are very primitive, need to improve. It would be nice to copy-paste from original gettext.
kisvegabor commented
With added spaces, it's working. I think there is only a few character which can be before _
:
(
)
,
;
(maybe)
What is the problem with filtering to these characters?
puzrin commented
Fixed, reinstall please.
kisvegabor commented
Works, thank you!