lvgl / lv_i18n

Internationalization (i18n) for LVGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subfodlers are not checked

kisvegabor opened this issue · comments

With lv_i18n extract -s './**.+(c|cpp|h|hpp)' -t './*.yml' the _("msgid") patterns are not found in the subfolders. I got No phrases to translate. With -s '.path/to/folder/*.+(c|cpp|h|hpp)' it's working.

That's strange, probably wrong glob pattern.

Could you attach zip with sample and commands to run?

Sure!

i18n_test.zip

lv_i18n extract -s './**.+(c|cpp|h|hpp)' -t './*.yml' finds the phrases only in source.c and not in source_dir.c and source_dir2.c

https://github.com/isaacs/node-glob#readme

Change search path to this: lv_i18n extract -s './**/*.+(c|cpp|h|hpp)' -t './*.yml'

  • ** match zero or more subdirs
  • * match inside name

Working, thanks!