Skybrud.Umbraco.Redirects icon indicating copy to clipboard operation
Skybrud.Umbraco.Redirects copied to clipboard

Multilingual issue

Open woodi123 opened this issue 2 years ago • 3 comments

I think there's an issue if you have a multilingual tree. Let's assume there are two cultures defined on the site:

  • de-DE (default)
  • fr-FR

I go to the backoffice and switch the tree to fr-FR. Then i create a content-redirect:

image

As you see, the url seems correct but if i then open /frtest it takes me to the german version. Most probably becaue the url of the content item is just fetched with .Url() without culture parameter, so it takes the default culture.

Any ideas? 😊

woodi123 avatar May 02 '22 12:05 woodi123

Hey @abjerner, any updates on this one? 🙂

woodi123 avatar May 31 '22 09:05 woodi123

Hi @woodi123

It's not something I currently have a good solution for.

For one, we're currently using Umbraco's link picker overlay for selecting the destination, which doesn't support selecting a culture. To support cultures, we'd either have to fully rewrite Umbraco's overlay or build something around it - both something that would take some time to implement.

People are also likely to have different opinions on how this should work, so there probably also goes some time into determining the correct approach.

abjerner avatar Jun 01 '22 18:06 abjerner

Hi @abjerner

Thanks for the feedback. I see your points.
Hoping, that you'll find a solution soon 😊

woodi123 avatar Jun 03 '22 09:06 woodi123

@woodi123 I realize that this may no longer be relevant for you, but the U10+ package now supports culture specific redirects.

Eg. in the example below, my about page varies by culture, so I'm now able to select whether the redirect should go English or the Danish version of the page.

image

abjerner avatar May 09 '23 14:05 abjerner