Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dan Moore 18 posts 22 karma points
    Nov 05, 2009 @ 21:01
    Dan Moore
    1

    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.

  • Chris Koiak 700 posts 2626 karma points
    Nov 06, 2009 @ 14:16
    Chris Koiak
    1

    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.

Please Sign in or register to post replies

Write your reply to:

Draft