webpack-angular-translate
webpack-angular-translate copied to clipboard
Missing support for translate-namespace
If the HTML template uses the translate-namespace directive, the tool will not assemble the translation IDs correctly.
Example case:
<div translate-namespace="CONTENT"
<div>
<h3 translate translate-default="Hello">.TITLE</h3>
</div>
<div translate-namespace="SECTION"
<div>
<h3 translate translate-default="Article 1">.TITLE</h3>
</div>
It will report that the translation ID .TITLE is duplicate, with different default texts.
The directive is documented in the angular-translate API guide.
Thanks for reporting the issue. I didn't knew the translate-namespace directive up to now so it is not supported. Currently I have quite a lot of work to do and therefore are not capable to fix this soon...
How would an ideal output look like from your perspective?