-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support nativescript-vue/multiple templates #80
Comments
I don't know, you would be willing to contribute this feature ? :) |
I could try. Can you give me an idea of how it could be implemented?
…On Fri, Apr 17, 2020 at 4:40 AM Victor Perron ***@***.***> wrote:
I don't know, you would be willing to contribute this feature ? :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#80 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGDAUFWZHGLEMUA4AIJZELRNABWHANCNFSM4MJ6YSXA>
.
--
Bruno Barberi Gnecco
|
Sure ! In this function we dissect the Vue file and then analyze separately the template and script parts: https://github.com/Polyconseil/easygettext/blob/master/src/extract.js#L61-L69 My first attempt would be to modify it (maybe by dissecting our vue preprocessor) to handle native templates as well. |
Thanks, I'll send a PR soon. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nativescript vue allow files with multiple templates to target native and web, like this one:
gettext-extract does not handle this properly, apparently only dealing with the second section. It'd be nice to support multiple template sections. Is this viable?
The text was updated successfully, but these errors were encountered: