Views: 575
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.

    (By Dang Viet Hung , 12 April 2018 05:24, Permanent link)

    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?

    (By Ha Bui , 12 April 2018 05:26, Permanent link)

    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

    (By Quan Pham , 12 April 2018 05:27, Permanent link)

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

    (By Dang Viet Hung , 12 April 2018 05:28, Permanent link)

    Great! Thank for quick answer :)

    (By Quan Mai , 12 April 2018 11:00, Permanent link)

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

  Please login to post a comment