Language tags don't detect language
| Project: | Rep[lacement]Tags |
| Version: | 6.x-1.x-dev |
| Component: | Code / API |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
(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
(Fixed a typo in the title)
#2
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.
#3
Fixed in latest -dev version. Thanks for reporting.
#4
Automatically closed -- issue fixed for two weeks with no activity.