Try our conversational search powered by Generative AI!

Ha Bui
Apr 12, 2018
  1902
(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
Upgrade Optimizely CMS From v11 to v12

Why Upgrade? There are many improvements implemented in version 12, but most importantly is that the whole framework is migrated from .Net Framewor...

MilosR | May 13, 2024

Configured Commerce - Infrastructure Updates Ahoy!

I'm very happy to share an important milestone - we no longer have any customers in our legacy v1 environment!  This means that the Configured...

John McCarroll | May 10, 2024

A day in the life of an Optimizely Developer - Enabling Opti ID within your application

Hello and welcome to another instalment of A Day In The Life Of An Optimizely developer, in this blog post I will provide details on Optimizely's...

Graham Carr | May 9, 2024

How to add a custom property in Optimizely Graph

In the Optimizely CMS content can be synchronized to the Optimizely Graph service for it then to be exposed by the GraphQL API. In some cases, you...

Ynze | May 9, 2024 | Syndicated blog