It looks like it wouldn't be too hard to write a URL rewriter in UrlRewriting.config to parse the incoming URLs and change the info after the comma/semicolon into a querystring so it could be handled in XSLT. However, when constructing URLs, things would get much more difficult. I'd have to manually concatenate the language info in XSLT, and then do what is described on another forum post ( http://our.umbraco.org/forum/using/ui-questions/4045-How-to-customize-niceurl#comment14519 ;) to handle TinyMCE created links.
It would be much easier if I could extend the built-in NiceUrl method so that all of that could be handled transparently in the same way it would if the site were not multilingual. I think this could be useful for other purposes besides multilingual sites as well.
Make NiceUrl() easily extendable
I'd like to construct 1:1 multilingual sites in Umbraco more easily than it can be done now, in particular, using either then #8 or #7 URL scheme mentioned here: http://h3h.net/technology/designing-urls-for-multilingual-websites
It looks like it wouldn't be too hard to write a URL rewriter in UrlRewriting.config to parse the incoming URLs and change the info after the comma/semicolon into a querystring so it could be handled in XSLT. However, when constructing URLs, things would get much more difficult. I'd have to manually concatenate the language info in XSLT, and then do what is described on another forum post ( http://our.umbraco.org/forum/using/ui-questions/4045-How-to-customize-niceurl#comment14519 ;) to handle TinyMCE created links.
It would be much easier if I could extend the built-in NiceUrl method so that all of that could be handled transparently in the same way it would if the site were not multilingual. I think this could be useful for other purposes besides multilingual sites as well.
Good suggestion Dan.
If you add it to umbraco.codeplex.com it will be considered for future releases.
This forum is really for improvments to the our.umbraco.org website, not the Umbraco code.
is working on a reply...