Ha Bui
Apr 12, 2018
  1776
(5 votes)

Duplicate language versions after import

When I work with EPiSerser Commerce's import catalog I have an issue after import catalog successfully like:

Image issue1.JPG

After 3 hours investigate I found down that is by:

Default catalog language is: en-gb but the available languages are: en-GB. That because of this EPiSErver function VerifyLanguageSetup also call Distinct but without CurrentCultureIgnoreCase.

Apr 12, 2018

Comments

Dang Viet Hung
Dang Viet Hung Apr 12, 2018 05:24 AM

Awesome, this article help my team and save our time a lot. Thanks Ha Bui.

However, could you show me how we can fix this?

Ha Bui
Ha Bui Apr 12, 2018 05:26 AM

Hi @Hung,

The easiest way to fix this is set your catalog default language with lowercase:

CatalogsCatalog.defaultLanguage = "en-gb";

Hope that help!

Ha Bui

Quan Pham
Quan Pham Apr 12, 2018 05:27 AM

Hello, A good point! I am also looking for the fix. Please advice.

Dang Viet Hung
Dang Viet Hung Apr 12, 2018 05:28 AM

Great! Thank for quick answer :)

Quan Mai
Quan Mai Apr 12, 2018 11:00 AM

I'll file a bug for this. Thanks for letting us know

Ha Bui
Ha Bui Apr 23, 2018 09:53 AM

Great help! Thank @Quan

Quan Mai
Quan Mai May 8, 2018 03:59 PM

The said bug (COM-6908) has been fixed and will be released in Commerce 12.2 

Please login to comment.
Latest blogs
IDX21323 - RequireNonce is true, Nonce was null

We have multiple clients configured with Azure Active Directory (Microsoft Entra) for requiring authentication when accessing their website. The...

David Drouin-Prince | Oct 1, 2023 | Syndicated blog

Minimum Detectable Effect in Optimizely Web Experimentation

Understanding Minimum Detectable Effect Minimum Detectable Effect (MDE) is a core statistical calculation in Optimizely Web Experimentation. In...

Matthew Dunn | Oct 1, 2023 | Syndicated blog

Configured Commerce - Introduction to Long-Term Support (LTS) Releases

First off, for those who have not had a chance to meet me yet, my name is John McCarroll, and I am the Technical Product Manager for the Optimizely...

John McCarroll | Sep 29, 2023

Auto-translate with OpenAI in Optimizely CMS

You can now auto-translate content using your favorite online AI service, inside the old trustworthy Episerver.Labs.LanguageManager!

Tomas Hensrud Gulla | Sep 29, 2023 | Syndicated blog