Views: 869
Number of votes: 5
Average rating:

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.

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?

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

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

Great! Thank for quick answer :)

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

Great help! Thank @Quan

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

Please login to comment.