Skip to content

Google translation issue #15090

@akshat-angelone057

Description

@akshat-angelone057

Describe the bug

When a Svelte page is translated via Google Translate, the updated values of variables are not reflected on the UI. Logging the values in the console shows the correct updated values, but the UI still displays the previous ones. This issue likely arises because Google Translate adds additional tags around the translated text, disrupting Svelte's reactivity system.

Reproduction

You can reproduce the bug using this sandbox link:

https://t8vrdf.csb.app/

Logs

System Info

reproducible on chrome browser

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions