biesbjerg / ngx-translate-extract

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

Extract translation for each enum entry #235

Open kristofdc opened 3 years ago

kristofdc commented 3 years ago

Hi,

I have a typescript enum defined, but I want to translate each enum entry. I am using the marker to automatically extract all labels and store them in the .json files.

Texts are translated like this in the components:

instant(`x.y.z.${enumEntry}`)

Is it possible to extract these dynamic translations with the marker?

thx!

Startouf commented 2 years ago

Duplicate of https://github.com/biesbjerg/ngx-translate-extract/issues/211 ?