Extract: No phrases to translate
kisvegabor opened this issue · comments
Gabor Kiss-Vamosi 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
Vitaly 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.
Gabor Kiss-Vamosi 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?
Vitaly Puzrin commented
Fixed, reinstall please.
Gabor Kiss-Vamosi commented
Works, thank you!