Copied to clipboard

Flag this post as spam?

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


  • Marcus Mordenfeld 5 posts 85 karma points
    Dec 14, 2020 @ 13:17
    Marcus Mordenfeld
    0

    Culture fallback fails

    Hi!

    I'm totally new to Umbraco so please forgive me for my probably pretty simple question.

    On my site I'm trying to do a multi lingual setup, with English as my fallback language. Whenever there is a document published for my wanted language (except English) it is displayed correctly, but whenever the translated version is missing I get a 404?! Is this intended behavior or am I missing some fundamental thing here?

    Any help would be very much appreciated.

    Below is my setup:

    English is the site default language and additional languages are added, with English defined as fallback. Language setup

    I have a document type, called TestDocType, setup to allow varying by culture.

    TestDocType - allowing varying by culture

    Documents of this type should be rendered by the following template.

    Template for TestDocType

    The Root node permissions has been modified to allow TestDocType items as children.

    Enable to add to Root

    The Root node culture and hostnames has been setup to accept a Swedish version.

    Set URL for Swedish content

    The result of visiting the default version of my document is totally fine.

    enter image description here

    Visiting my Swedish (non existing) version, which I expected would fallback to my English version, does not work at all.

    enter image description here

  • Dhanesh Kumar MJ 165 posts 521 karma points MVP c-trib
    Dec 14, 2020 @ 14:12
    Dhanesh Kumar MJ
    100

    Hi Marcus,

    The Fallback is only for the property not for the Node itself, the node against each culture must be published then only the page in published culture is valid, otherwise, the page is invalid and show's 404.

    Please save and publish nodes in both cultures and then browse.

    Regards Dhanesh :)

  • Marcus Mordenfeld 5 posts 85 karma points
    Dec 14, 2020 @ 14:46
    Marcus Mordenfeld
    0

    Oh, I see. That explains the behavior quite well :)

    Thanks a lot!

Please Sign in or register to post replies

Write your reply to:

Draft