Ha Bui
Apr 12, 2018
(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


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
Customizing Property Lists in Optimizely CMS

Generic property lists is a cool editorial feature that has gained a lot of popularity - in spite of still being unsupported (officially). But if y...

Allan Thraen | Oct 2, 2022 | Syndicated blog

Content Delivery API – The Case of the Duplicate API Refresh Token

Creating a custom refresh provider to resolve the issues with duplicate tokens in the DXC The post Content Delivery API – The Case of the Duplicate...

David Lewis | Sep 29, 2022 | Syndicated blog

New Optimizely certifications - register for beta testing before November 1st

In January 2023, Optimizely is making updates to the current versions of our certification exams to make sure that each exam covers the necessary...

Jamilia Buzurukova | Sep 28, 2022

Optimizely community meetup - Sept 29 (virtual + Melbourne)

Super excited to be presenting this Thursday the 29th of September at the Optimizely community meetup. For the full details and RSVP's see the...

Ynze | Sep 27, 2022 | Syndicated blog