biesbjerg / ngx-translate-extract

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

Allow parser customization #195

Open buenjybar opened 4 years ago

buenjybar commented 4 years ago

Will it be possible to update your TRANSLATE_ATTR_NAME variable?

For example, I have a tooltip attribute ( or [tooltip] ) that is automatically translating the given key

How could I take advantage of your directive.parser.ts extractor logic and update this TRANSLATE_ATTR_NAME with this attribute name'tooltip'?

Or it could be nice to allow us to integrate new entrypoints for custom code in your module. :smile:

Also: great great great tool !!!