Closed (works as designed)
Project:
Internationalization
Version:
7.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2011 at 02:57 UTC
Updated:
19 Mar 2011 at 19:32 UTC
the language switch of a translated node does not change the language part of the URL, block switcher works fine
In the example, node 2 is in spanish and node 3 in english
the block switcher goes to the right ..../en/node/3 and the node language switcher to ..../es/node/3. the problem is that "es" remains unchanged.
| Comment | File | Size | Author |
|---|---|---|---|
| i18n error.jpg | 33.61 KB | gustavol |
Comments
Comment #1
jose reyero commentedTry beta3
Comment #2
jguffey commentedActually, when the node is also the home page and you switch languages, the problem still exists.
For example,
www.mysite.com/node/1 correctly goes to www.mysite.com/es/node/1
but
www.mysite.com/ goes to www.mysite.com/es, where the node is still in the default language, but the interface is translated.
Comment #3
jose reyero commentedThat's just how it is expected to work. If you don't like it please file a bug for Drupal core.
Comment #4
jguffey commentedWow, ok, well then I guess to solve my problem, and anyone else's that may have a simular problem of having different languages for their front page of their site, I'll have to put together a little custom module that will switch the homepage properly when a user switches the language.
Weither this is a fix to Core, or a fix to i18n, I think it'll be helpful, so when I'm done I'll post back my code here.
Thanks for your help.