You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The last release of ngx-translate-extract for extracting translatables using ngx-translate is almost two years old, so I thought maybe this project can fill the gap.
The extraction of HTML, TypeScript & Javascript should working out of the box, the "only" feature missing is the "pipe" pattern:
The reason why I haven't implemented such an extractor already, is because of the potential complexity of such expressions. Your examples would be quite simple to parse but in some cases it might contain ternary conditionals and other more complex expressions.
However, it would be interesting to see if Angular exposes its internal parser in a way in which it could be used for this package.
The last release of ngx-translate-extract for extracting translatables using ngx-translate is almost two years old, so I thought maybe this project can fill the gap.
The extraction of HTML, TypeScript & Javascript should working out of the box, the "only" feature missing is the "pipe" pattern:
("translate" is the getText keyword for extracting messages, param is a TypeScript variable)
What do you think? Probably requires a new HTMLExtractor...
The text was updated successfully, but these errors were encountered: