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

Save selected language after close. #5

Open
OMSmolina opened this issue Feb 23, 2017 · 1 comment
Open

Save selected language after close. #5

OMSmolina opened this issue Feb 23, 2017 · 1 comment

Comments

@OMSmolina
Copy link

By default every time I visit the website I get the locale from where I am but if I change it, it's not saved for the next time.

@niden
Copy link
Member

niden commented Feb 23, 2017

We don't actually store any cookies to keep the language setting for a subsequent visit. The language is calculated from the actual request, unless specifically passed.

https://github.com/phalcon/website/blob/master/app/library/Traits/LanguageTrait.php#L22

You are more than welcome to create a PR to add this enhancement :)

@niden niden transferred this issue from phalcon/website Aug 29, 2019
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

No branches or pull requests

2 participants