craig.goulding-preactor
-
12/18/2009 6:49:01 AM
Multi-Lingual URL's
I've already asked this question to Kentico Support, but wanted to know if anyone else has had a similiar requirement and if so how did they solve the problem.
Our website currently supports 14 different languages, and this all seems to be working fine. However we now have another requirement about the url will is displayed.
Currently the site URL is just http://www.preactor.com/Home.aspx To change the language, we can add the lang parameter to the query string http://www.preactor.com/Home.aspx?lang=fr-FR
This all works fine, but we now require the URL to change, so if they are browsing the site in French instead of English, the url looks similiar to http://www.preactor.com/fr-FR/Home.aspx
Any ideas?
I did find a forum post dating back to 2006 for version 1 saying this isn't supported, things have moved on a bit now, so can anyone give any suggestions on how we could achieve this?
I notice in CMSSiteManager there is a URLPATHPREFIX setting, this is would appear to be the sort of thing we require, but have this set dynamically based on the chosen language.
Thanks in advance for any suggestions.
Craig
|