Hi,
To be honest, what you've said isn't really a "problem". You'll notice that all the links on the page use the URI Mappings for the new language, it is only the URI displayed in the address bar that still has the old language's URI.
I can add code to redirect the user to the equivalent URI to the current URI but for the new language.
Or code could be added to the html_output zen_href_link function to look up the language ID for any link which attempts to change the language (i.e. the language sidebox) and then check to see if the link has an equivalent in this new language ID. That would add several database calls though.
Both of these are really overkill to me at this time.. it's such a minor thing, just one simple link, and I don't think search engines will care about a link on a site to change languages. So I've marked the code with a todo but I have no plans to make these changes I'm afraid. You never know I may do in the future, I think it's fairly unlikely though! :)
// @TODO Record current language ID in case language is being changed. This could then
// be used later to redirect to the current URI for the new language.
So my advice is to just ignore this issue! :)
All the best...
Conor
ceon
Bookmarks