vendure-ecommerce / ngx-translate-extract

Extract translatable (using ngx-translate) strings and save as a JSON or Gettext pot file
MIT License
51 stars 19 forks source link

Feature request: Add option to set a namespace prefix to ignore #16

Closed fbjerggaard closed 1 year ago

fbjerggaard commented 1 year ago

I have a use case where I use a loader that loads multiple translation files for each module (specifically https://github.com/larscom/ngx-translate-module-loader)

This generates a namespace for each translation file like the following:

ADMIN.MENU.TITLE

The translation file should then only contain the MENU.TITLE part since ADMIN is automatically prefixed