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

Get lang from browser #1

Open
A-xis opened this issue Dec 2, 2015 · 0 comments
Open

Get lang from browser #1

A-xis opened this issue Dec 2, 2015 · 0 comments
Assignees

Comments

@A-xis
Copy link
Owner

A-xis commented Dec 2, 2015

It is possible to get from global constant "$_SERVER[HTTP_ACCEPT_LANGUAGE]" the locale used by client. With tat, we can simply improve the lang selector.

for exemple:
[HTTP_ACCEPT_LANGUAGE] => fr,fr-fr;q=0.8,en-us;q=0.5,en;q=0.3

@A-xis A-xis self-assigned this Dec 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant