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

fix: match browser default language error #291

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Conversation

sy-records
Copy link
Member

@sy-records sy-records commented Jan 16, 2025

close #290

@shuashuai
Copy link
Member

close #290

The reason for the problem is that currently the website only supports zh-CN and en. En is the default language, so you should determine whether the browser language is zh-CN. Other languages ​​can match the default language.

In this way, there is no need to consider whether the issue is en or en-US.

@shuashuai shuashuai merged commit b945c45 into apache:main Jan 16, 2025
1 check passed
@sy-records sy-records deleted the fix/language branch January 16, 2025 07:49
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

Successfully merging this pull request may close these issues.

Error in Javasript: tries to load https://answer.apache.org/en sometimes
2 participants