Modules versions:

locale_cookie: 7.x-1.0
entity translation: 7.x-1.0-alpha2
i18n 7.x-1.7
views 7.x-3.5

Core:
Dupal 7.15

Lang detection methods and orders for interface / content

cookie -> expire: 1 day, cookie name: language
session -> session parameter: language
Default

Caching is disabled in drupal, theme registry is rebuilt with every page load and the caches have been cleared and client-side cookies deleted as well as the browser cache cleared.

How-to-reproduce

There are 2 languages (German, English(default) ) on the page.

I open the page in Firefox in a tab, the page is displayed in English.
I click on the "language switcher (content)" language "German" and nothing happens.

The cookie is created with a language of English ,but never updated to reflect any language change a user made.

Comments

attiks’s picture

I installed a new Drupal site (standard profile):

  • Enabled Content translation, Locale and Locale Cookie
  • Added a new language (Dutch)
  • Edit admin/structure/types/manage/article (select Enabled, with translation)
  • Create a node in English
  • Translate it to Dutch
  • Detection and selection: first session, then cookie
  • Enabled "Language switcher (User interface text)" block

Goto node/1, click on other language (you'll go to node/2?language=nl) and the cookie changes

Open a new tab for admin/config/regional
In the first tab click on English
Refresh admin/config/regional, text should be English
In the first tab click on Dutch
Refresh admin/config/regional, text should be Dutch

attiks’s picture

Priority: Major » Normal
Status: Active » Closed (works as designed)