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

Default locale looking-up in Home Page #4552

Closed
afc163 opened this issue Jan 10, 2017 · 2 comments
Closed

Default locale looking-up in Home Page #4552

afc163 opened this issue Jan 10, 2017 · 2 comments
Assignees

Comments

@afc163
Copy link
Member

afc163 commented Jan 10, 2017

  1. visit http://ant.design
  2. Find current locale in navigation.language and localStorage.getItem('locale').

Avoid switching language every time when visit site from url http://ant.design.

@afc163 afc163 added the Site label Jan 10, 2017
@afc163 afc163 changed the title Default locale look up in Home Page Default locale looking-up in Home Page Jan 17, 2017
@benjycui
Copy link
Contributor

首页无视 -cn 后缀,自动检测语言然后跳转。

其他页面还是要保留现在的逻辑,以链接为准。

@lock
Copy link

lock bot commented May 2, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants