How to fix culture problem (Kentico13 Demo of Dancing Goat)

Thawatchai Kongsuk asked on June 9, 2023 16:14

I have a problem with the Dancing Goat site demo installer using Kentico 13 refresh 9 + .net 6 version: 1. Install Dancing Goat site 2. Remove culture Spain and add culture Thai 3. Define culture alias en-US => en, th-TH=>th 3. Set default Culture = Thai 4. Enable culture alias as language prefix in urls as per documentation/manual, also set URLs & SEO as per manual as well.

But found that the website is not working. When entering with /home , the website will redirect to /en-us and show a view of 404 (Oops! Page not found...) when entering with /th or /home or /en/home or /th/home

Where should it be checked and corrected? Please ask for advice

Recent Answers


Trevor Fayas answered on June 12, 2023 23:52

It's probable that you need to apply this hotfix which is specifically about a crash scenario around the Thai language:

13.0.88

ASP.NET Core - Live site crash for .NET 6.0 sites using the Thai content culture For projects targeting .NET 6.0, using the Thai (th-th) content culture for a site caused the live site to crash with an unhandled 'OutOfRangeException' error.

0 votesVote for this answer Mark as a Correct answer

Thawatchai Kongsuk answered on June 13, 2023 06:30

Hi Trevor Fayas, I'm so glad to hear from you. I followed the coding from your project baseline. It's a great coding.

I'm running is 13.0.104 which probably already has the hotfix but it doesn't work.

0 votesVote for this answer Mark as a Correct answer

Thawatchai Kongsuk answered on June 13, 2023 16:35

Hi Trevor Fayas, I need to update this case to you. I found that the "Dancing Goat" demo with default layout and some coding has to fixed to use only English and Spain. I decided to create my own layout and test with Thai and English, it's work fine !!!. Thanks.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.