Copied to clipboard

Flag this post as spam?

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


  • Steve Smith 75 posts 158 karma points
    Jul 23, 2018 @ 14:34
    Steve Smith
    0

    Question about primary language when using the XPath option

    Hello,

    We're currently evaluating Vorto to see whether it would be suitable for our Umbraco CMS installation - where we have several different microsites focusing on a language/region.

    I've figured out that I can configure an XPath query to tell it to find which languages are in use in a particular branch of content... e.g. something that traverses up the node tree to the home page node of the microsite, like:

    $ancestorOrSelf/ancestor-or-self::*[@level=1]

    That works OK - but what I'm struggling with is the "Primary Language" setting. The primary language the content editor will see (much like the language choices available) will vary depending on which branch of content the content editor is working on. Sometimes it will be English, sometimes Spanish and occasionally Portuguese.

    Is there some way I can configure the Culture and Hostnames property of the relevant Umbraco node to get Vorto to pick up the correct primary language for the content branch?

    Thanks,

    Steve.

Please Sign in or register to post replies

Write your reply to:

Draft