I really don't know for whatever reason this happens, but the "redirect to localized front page" option redirects only once and stores this first time redirection in a session variable to avoid subsequent redirects.
Q: Why would I want to see a front page in a language that I don't understand?
Any use-cases out there?
Patch is only temporary, to outline this bug.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | translatable-DRUPAL-5.patch | 6.11 KB | sun |
| translatable.frontpage.patch | 767 bytes | sun |
Comments
Comment #1
sunAdditionally, the switch by hostname support does not work at all for anonymous users. Since i18n_get_lang() does not check the hostname to assign the current locale, anonymous users are redirected to the default language/hostname of a site. That is, because translatable_change_uilocale() is invoked by locale_initialize() and contains multiple calls to translatable_get_locale(), which in turn returns NULL, since $locale has not been set yet.
I've committed attached patch to fix these issues.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.