Open konuch opened 5 years ago
The fact that 'Import'
is extracted is actually kind of surprising to me because you're effectively running HTML through the TypeScript parser. My guess is that the parser treats the HTML as JSX and is therefore able to find code that's contained within curly braces.
Unfortunately extracting such messages is not supported at the moment. The good news is that the next major release will include full support for angular templates out of the box. This includes your example. I will update this issue as soon as the release is out.
Hey @lukasgeiter,
slight and polite ping! 🙈 Any news on your rewrite? On nextcloud-vue we have similar problems with webpack & vue: nextcloud-vue/SettingsSection.vue#L51
Greets! 🙂 Jonas
@jotoeri Thanks for your interest!
I'm sorry that the rewrite is taking longer than expected. For a quite a while I was not able to work on the project at all. Now I'm back at it though and making steady progress... Thank you for your patience 🙏
Hi @lukasgeiter , any news on updates about this new release to support angular template ?
Hi @sorinfratila!
Sorry, I don't have any news at this time. I'm currently unable to spend time on the project and don't want to make any promises. I'll let you know once that changes. Thanks for understanding.
I have the following angular template:
The 'Import' string is successfully extracted using your lib, but the 'Click to Import' text is ignored. I assume this happens because the latter is not enclosed in double curly braces. Is there a way we could make this work?
Thanks in advance.
This is my core extractor code: