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

How to cancel "render". #16

Open
raiden1017 opened this issue May 30, 2021 · 0 comments
Open

How to cancel "render". #16

raiden1017 opened this issue May 30, 2021 · 0 comments

Comments

@raiden1017
Copy link

Hi
I'm writing the Japanese text directly in HTML.

<p glot-model="greeting">こんにちは</p>

I have prepared a button in the page, and by pressing this button, the Japanese text is translated into English text written in a json file by "render".

    "greeting": {
        "en": "Hello"
    }

However, I don't know how to change it back to Japanese after this.
If there is a method that cancels "render", please let me know.

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