Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Get/Save language preference #1071

Closed
robocoder opened this Issue · 2 comments

1 participant

Anthon Pang
Anthon Pang
Collaborator

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.

Anthon Pang
Collaborator

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

Anthon Pang
Collaborator

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

Anthon Pang robocoder added this to the Piwik 0.5.5 milestone
Anthon Pang robocoder self-assigned this
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.