Closed pooledge closed 2 years ago
Unfortunately svelte files are not supported. You say it's not a svelte specific problem, yet the example you show is clearly svelte code. I'm assuming the only reason some of them work is because the TypeScript parser tries to make the best of it and sometimes it works and sometimes it doesn't.
Thank you, Lukas! So I'd be better off hacking into parser then, could you provide any special hints?
I would reopen your issue over at gettext-extractor-svelte, maybe someone there can help. Other than that, I don't have any hints sorry.
I've posted it in the svelte-specific fork, but quickly realisied I get same with a bare. Some strings do not get extracted as expected, so I've tried to narrow it down to the following:
Parser and config:
Did I miss something in the config? Thanks in advance for looking into this!