Skip to content
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

Vue js <i18n> #100

Open
frodrigo opened this issue Jan 20, 2021 · 0 comments
Open

Vue js <i18n> #100

frodrigo opened this issue Jan 20, 2021 · 0 comments

Comments

@frodrigo
Copy link

On Vue JS <i18n> text content is no to be translated, but part of component interpolation.
https://kazupon.github.io/vue-i18n/guide/interpolation.html#places-syntax-usage

    <i18n tag="p" path="Keep in touch by watching at {foo} on twitter.">
      <template v-slot:foo>
        <a href="foo">foo</a>
      </template>
    </i18n>

Unfortunately easygettext embed the content:

msgid ""
"<template v-slot:foo=\"\">\n"
"        <a href=\"foo\">foo</a>\n"
"      </template>"
 msgstr ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant