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

Chrome doesn't accurately detect the language/locale. #6

Closed
smenjas opened this issue Jan 27, 2023 · 1 comment
Closed

Chrome doesn't accurately detect the language/locale. #6

smenjas opened this issue Jan 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@smenjas
Copy link
Owner

smenjas commented Jan 27, 2023

I found this issue using Chrome 109.0.5414.87. See #2.

I tried:

  • <html lang="en-us">
  • <meta http-equiv="Content-Language" content="en">

See: stack overflow: Why does Chrome incorrectly determine page is in a different language and offer to translate?

@smenjas smenjas added the bug Something isn't working label Jan 27, 2023
@smenjas smenjas added wontfix This will not be worked on and removed wontfix This will not be worked on labels Mar 3, 2023
@smenjas
Copy link
Owner Author

smenjas commented Mar 3, 2023

See: https://stackoverflow.com/a/3130857/12841859

This was only a problem when the app had very little text (just "Calendar: Vanilla JS"). The lang attribute on the opening html tag didn't help. I tried adding an http-equiv meta tag, and that didn't help either.

Adding more English text (days of the week, and the month name) solved the issue.

@smenjas smenjas closed this as completed Mar 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant