Hi,
I've had a new version of the module running here for several months now which tracks whether or not the user has just changed the language.
In a standard version of Zen Cart - which is not using this latest version of Ceon URI Mapping - "&language" is added.
The new code in this new version I've been running handles language changes transparently and will redirect the user to the specific URI for the newly selected language, so "&language" is never displayed on the site again if the URI has been stored in each language!
As well as that, if the user hasn't just selected a new language, but the URI uses a different language from the session, the session is switched to use the new language. This means that the page will display in the language that the URI is specifically defined for. So if a site has a page in two different languages but each has a translated URI (E.g. /chairs and /chaises), the session language will correctly represent the URI being displayed in the address bar!
This all greatly enhances the language handling of Zen Cart.
Another feature I've had running in the new version is code which removes the category ID from the URI (an extra cPath= some people have reported) if it is simply the product's master category as it will be regenerated when the static URI is loaded..
I've had those two new features ready to go since November I think but unfortunately I haven't released the code yet as I've been very busy and then got very ill recently and am only getting back on top of things now.. packaging up new versions takes a fair bit of time (if there are any problems in any upgrade lots of you will let me know it! :) ).. it's only with you mentioning this now that I have realised just how long its been since I actually wrote this code though!
I'll try and get a new release of the software out soon. (I know that's not exactly the news you wanted but at least now you know that the issue has been looked at.. and even better, code has been written which is already working!)
Al the best..
Conor
ceon
Bookmarks