Skip to content

fix: match browser default language error#291

Merged
shuashuai merged 1 commit intoapache:mainfrom
lufei:fix/language
Jan 16, 2025
Merged

fix: match browser default language error#291
shuashuai merged 1 commit intoapache:mainfrom
lufei:fix/language

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