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/Save language preference #1071

Closed
robocoder opened this issue Dec 11, 2009 · 2 comments
Closed

Get/Save language preference #1071

robocoder opened this issue Dec 11, 2009 · 2 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@robocoder
Copy link
Contributor

The original bug report was that the user had to reselect their language after login.

Instead of getting/saving the language preference to a cookie (#282), Piwik gets/saved the preference in the piwik_user_language table.

The language preference is loaded in this order:

  • session
  • db
  • browser lang

If an anonymous user selects a language, this is updated in the session, but not the db (i.e., no current user).

When the user logs out, the session data is destroyed.

@robocoder
Copy link
Contributor Author

(In [1846]) fixes #1071 -- get/save language regression introduced by #939

@robocoder
Copy link
Contributor Author

(In [1847]) refs #1071 - avoid unnecessary redirect

@robocoder robocoder added this to the Piwik 0.5.5 milestone Jul 8, 2014
@robocoder robocoder self-assigned this Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

1 participant