Copied to clipboard

Flag this post as spam?

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


  • Johnny Mogensen 10 posts 29 karma points
    Jun 04, 2010 @ 12:41
    Johnny Mogensen
    0

    Syncronize structure in many languages

    Hi,

    I have tricky question, regarding structure. I have one site with many languages and need to paste one page into the structure on all languages in one stroke, in other words i need to have a master site, where I sync the structure into all languages.

    I need to keep the same structure syncronised in all languages, so when I add a page in a 'master' language, the page should be copied to all or some of the languages.

    Is this possible?

    Cheers Gothardt

  • atze187 160 posts 215 karma points
    Jun 04, 2010 @ 13:03
    atze187
    0

    Haven't used it yet, but this sounds like the relations api could help you:

    http://blog.hendyracher.co.uk/umbraco-relation-api/

    Cheers,
    André

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jun 04, 2010 @ 13:32
    Matt Brailsford
    0

    Andre is correct. You would want to use the relationship api in conjunction with some event handlers.

    Setup some even handlers to be notified when a new page is created/saved and check the parents related node in the other site to know where to create the copy.

    Checkout this link from Neils for a similar concept plus some code sample to get you started

    http://umbraco.org/blog/2009/3/25/microsoft-translator-and-umbraco

    Matt

  • Johnny Mogensen 10 posts 29 karma points
    Jun 15, 2010 @ 12:09
    Johnny Mogensen
    0

    Great links,

    Thank you both, it was exactly what I was looking for!

     

    Johnny

Please Sign in or register to post replies

Write your reply to:

Draft