Download & Extend

language switcher blocks dosent work when user language is different then default

Project:Language icons
Version:7.x-1.0-beta1
Component:Code
Category:support request
Priority:major
Assigned:Unassigned
Status:closed (works as designed)

Issue Summary

If nobady is loged in or admin is loged then clicking on another language in language switcher blocks properly change language of menus, nodes, blocks.

But when user is not using default language, he uses Denmark for example then when clicking on default language (english) does not translate menus, blocks... Only when clicking directly in node language flag icon you can change language.

My configuration (detection method):

URL Determine the language from the URL (Path prefix or domain). - ENABLED [ Path prefix]
User Follow the user's language preference. ENABLED
Session Determine the language from a request/session parameter. ENABLED [Request/session parameter - language (default)]
Browser Determine the language from the browser's language settings.
Default Use the default site language (English).

EDIT: If you UNCHECK in detection method: User - Follow the user's language preference.

Then everything is working fine. User can change language by language switcher blocks (flag icons). Does it works as designed ? I don't think so... Feel free to move, edit this post if needed.

Comments

#1

This is really an issue with the Language switcher block and not with Language icons (keep in mind that Language icons simple adds icons to links generated by Drupal itself).

However, did you try switching #2 (user preference) and #3 (session parameter) detection method?

#2

Status:active» postponed (maintainer needs more info)

#3

Status:postponed (maintainer needs more info)» closed (works as designed)

Freso thx for your interest, I do not have problem with this issue at this time so I'm gonna close this one. Anybody fell free to reopen.