Fallback language for commerce content

Vote:
 

Is it possible to set fallback language for commerce content? This answer from 2017 said it didn't work back then, and I can't really get it to work now either (not on latest version, but 13.7 is relatively new). I want to achieve a solution where I enable a new language (for example french) and that all CMS and commerce content fallback to english while still being on the french site. This works fine for CMS content but when it comes to commerce content, the framework generates URLs to the english site.

If this still is not possible, I'm looking at overriding IContentLanguageSettingsHandler and "re-route" requests for french commerce content to english commerce content.

public ContentLanguageSetting Get(ContentReference contentLink, string languageBranch)
{
    if (languageBranch == "fr" && IsCatalogContent(contentLink))
    {
        return new ContentLanguageSetting(contentLink, "fr", null, new [] {"en"}, true);
    }

    return _handler.Get(contentLink, languageBranch);
}

Do you see any risks with this approach?

#218247
Edited, Mar 16, 2020 12:48
Vote:
 

No one? Quan? :)

#218480
Mar 13, 2020 11:56
Quan Mai - Mar 16, 2020 22:12
yes?
Andreas J - Mar 16, 2020 22:15
I'm asking for your help, if that wasn't obvious.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.