SaaS CMS has officially launched! Learn more now.

Ha Bui
Apr 12, 2018
  1938
(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
Optimizely release SaaS CMS

Discover the future of content management with Optimizely SaaS CMS. Enjoy seamless updates, reduced costs, and enhanced flexibility for developers...

Andy Blyth | Jul 17, 2024 | Syndicated blog

A day in the life of an Optimizely Developer - London Meetup 2024

Hello and welcome to another instalment of A Day In The Life Of An Optimizely Developer. Last night (11th July 2024) I was excited to have attended...

Graham Carr | Jul 16, 2024

Creating Custom Actors for Optimizely Forms

Optimizely Forms is a powerful tool for creating web forms for various purposes such as registrations, job applications, surveys, etc. By default,...

Nahid | Jul 16, 2024

Optimizely SaaS CMS Concepts and Terminologies

Whether you're a new user of Optimizely CMS or a veteran who have been through the evolution of it, the SaaS CMS is bringing some new concepts and...

Patrick Lam | Jul 15, 2024