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?
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.
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)
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?
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.
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.
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)
is working on a reply...
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.