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

🔬 Find a way to prevent browser auto-translation on access on localised beBOP page #892

Open
Tirodem opened this issue Dec 20, 2023 · 5 comments

Comments

@Tirodem
Copy link
Contributor

Tirodem commented Dec 20, 2023

Because browser translation is highly hazardous, maybe we can redirect to the good locale ?

@coyotte508
Copy link
Collaborator

Should include example of problems to have a clear idea of what problematic browser behavior to fix

@Tirodem
Copy link
Contributor Author

Tirodem commented Jan 2, 2024

Oh, no really "problem" here, juste that browser-made translation is kinda shitty, and it's as bit sad as beBOP goes with its own i18n
For example, with Luxogood, en auto-translated in fr by the browser :
image
image
Having a way to forbid this (here on Chrome) or interact with it better would be nice.
image

@Tirodem
Copy link
Contributor Author

Tirodem commented Jan 2, 2024

My funniest is this one, with "Vérifier" for cart check xD
image

@coyotte508
Copy link
Collaborator

In practice the problem shouldn't happen too much?

Since we display the page with <html lang="fr" class=""> if the browser's preferred language is french. So if the user doesn't manually change the language, it's fine for them?

@Tirodem
Copy link
Contributor Author

Tirodem commented Jan 2, 2024

In any way, it's not priority.
But even if the frequency is low, I'd rather it to be zero.
I think it can be done with a translate="no" in html code, and it would be nice to leave the choice to the shop owner to allow browser translation or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants