Copied to clipboard

Flag this post as spam?

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


  • Rik Helsen 670 posts 873 karma points
    Jul 14, 2009 @ 16:41
    Rik Helsen
    0

    What's the point of setting the locale of a page ?

    Can anyone explain me  the point of setting the locale for a page or site?

    I don't see where is it used by Umbraco in any way?

    There's no automated forwarding users to a homepage in their own language, you cant assign a number of languages to a translater to the list of translators gets filtered, even when one uses multiple subdomains for different languages, i don't quite see the point?

  • Tim 225 posts 690 karma points
    Jul 14, 2009 @ 19:07
    Tim
    100

    Hi Rik,

    Setting the locale in Umbraco (by which I think you mean language?) enables you to serve different content to users depending on the language set for the page they are currently in.

    For instance setting the language to dutch for a collection of pages means that any dictionary items you have created will be retrieved from the dutch entry in the dictionary, allowing you to specify specifc translations of shared contnet, such as a back to top link or title of a product page.

    This can seriously cut down on the number of templates you need.

    You can also pull dictionary items out in XSLT, allowing you to tailor content to language in question (such as pulling out different child nodes, based on a node ID stored in a dictionary item).

    You can even store macro tags in the dictionary allowing you to serve up different macros depending on the language.

    There are certainly improvements to the way Umbraco handles languages that can be made, but the system as it stands is reasonably customisable according to language.

     

  • Tim 225 posts 690 karma points
    Jul 14, 2009 @ 19:09
    Tim
    0

    I think I'll put together a bit more documentation on the Wiki about all of this as it is somewhat unclear.

    If you have specific questions then why not message me via twitter and I'll see if I can help you further.

  • Rik Helsen 670 posts 873 karma points
    Jul 15, 2009 @ 09:10
    Rik Helsen
    0

    Thanks for clearing this up, being able to create multilingual templates is a benifit that i didn't think of straight away (probably because we can't really do it in Sharepoint - my usual platform)

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies