Copied to clipboard

Flag this post as spam?

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


  • Bogdan 250 posts 427 karma points
    Nov 18, 2013 @ 17:00
    Bogdan
    0

    Advice building a site with many countries and languages

    Hello,

    In a site which will have many countries and languages one of the requirements is to be able to create the languages in one branch, the content in another and on each content page to set in which countries it is available.

    The content consists of a few main types, and the URLs to these pages will be partly hardcoded - e.g. /en-GB/products/[productcat], /en-GB/downloads/[downloadcat] etc. For this implementation I'm planning to use custom MVC routes as nicely described by Shannon Deminick here. Some content is not language depended and will be set on the content nodes themselves, while the language content will be created in language nodes under them. To set in which countries a content node is available I'll write a simple data type which will basically list the structure from Regions/Countries/Languages with check-boxes. This way in the custom actions I'll be able to get the content for the current country / language.

    For usability purposes the languages should be created under a Region/Country/ll-CC structure, but the URLs for homepages must be /ll-CC. I explained the problem I encountered while giving umbracoUrlAlias a try in order to implement this requirement here.

    Another requirement is that under each language content pages can be created e.g. /en-GB/content-page. For this I was planning to change the umbracoUrlAlias of these pages on ContentService.Saving but first I have to get umbracoUrlAlias working.

    If this is or is not workable, or if there are other ways of achieving these requirements I'd like to hear your advice.

    Thanks!

Please Sign in or register to post replies

Write your reply to:

Draft