-
Notifications
You must be signed in to change notification settings - Fork 201
feat: lang detection #970
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
feat: lang detection #970
Conversation
✅ Deploy Preview for apache-apisix ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
juzhiyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, @SkyeYoung. This PR has lots of style changes. 😅 How about this?
- You could set up the prettier configuration and format all codes in one PR.
- Submit this lang detection PR without extra codes style changes.
Ok, I'll rollback it. I'm adding lint tools. :D |
I have tried to solve this problem. Pls have a look. |
6a50954 to
65fb7f1
Compare
juzhiyuan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM

Fixes: #743
Changes:
pls check #743 (comment)
I didn't add a re-enable button, because after thinking, I find the step of detecting the language automatically should only happen when I first entered the website.
Screenshots of the change:
none, pls check preview.
Logic of Language Redirect:
