Language tags don't detect language

Samuel Lampa - August 20, 2008 - 13:35
Project:Rep[lacement]Tags
Version:6.x-1.x-dev
Component:Code / API
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

(Sitewide) language tags don't change language according to user language. It only shows the first available language. It changed only when I removed the "first" language version (english). Then it changed to the next available language, but still didn't change according to

Testing info:
I use i18n-6.x-1.0-beta3 as of 2008-08-20, together with Drupal 6.4

I have multilanguage through i18n, and language is set by the url, like example.com/[LANGCODE]/node/nid.

Tried with both "strict" and "fallback" Language mode.
I disabled partial cache
I disabled sitewide cache
I tried emptying all the cache tables (including cache_reptag) via phpMyAdmin, without change.
I tried changing the user language on the profile page (followed by emptying all caches), without change.

Server info:
Apache 2.2.3
MySQL 5.0.24a
PHP 5.1.6 + PEAR (basic package)

#1

Samuel Lampa - August 20, 2008 - 13:36
Title:Language tags don's change language» Language tags don't detect language

(Fixed a typo in the title)

#2

Samuel Lampa - August 20, 2008 - 13:51

The problem does not seem to be due to not detecting the correct language.

At least I found out that {USERLANG} is correctly detected, by looking at the "system tags" settings in the node creation form. (See screenshot).

It was detected from the url ( example.com/[LANGCODE]/node/nid ) (which is good), and not from the user setting in the user profile page.

AttachmentSize
Userlang.gif2.12 KB

#3

profix898 - September 28, 2008 - 15:53
Status:active» fixed

Fixed in latest -dev version. Thanks for reporting.

#4

Anonymous (not verified) - October 12, 2008 - 15:54
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.