How to set language / locale in BasketSummary component of CommerceComponents dll

Posted on 2009-02-18
Last Modified: 2013-11-24

we are developing web shop based on Microsoft Commerce Server 2007 StarterSite. It uses BasketSummary component to show summary of shopping cart on right side. Text is always displayed in english independent on selected language (StarterSite Options or Language settings in IE). We want to display that text in selected language.

CommerceComponents.dll is part of Commerce Server Starter Site.

Does anybody know hot to set used language or locale to that component? Must extra resource-DLLs be installed?

Thanks in advance for helpful answers.

Kind regards,
I tried following code in StandardLayout.Master.cs in OnInit but it did not help. Content of DefaultLanguageInfo is correct.



            UserObjectProfile userProfile = CurrentUser.GetUserProfile();

            if (userProfile != null)


                Thread.CurrentThread.CurrentUICulture = userProfile.DefaultLanguageInfo;

                Thread.CurrentThread.CurrentCulture = userProfile.DefaultLanguageInfo;



Open in new window

Question by:e-pro
    1 Comment

    Accepted Solution


    I found solution by myself ....

    As CommerceComponents.dll is part of CS Starter Site it comes with source code. Source code contains resource file ComponentResources.resx. If this file is duplicated and renamed to german translations can be added. After re-compilation of VisualStudio project and update of DLL in StarterSite Web-Application on IIS (automatically done by VS if existing solution is used) german texts are available in frontend.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Problem Description: Actually I found the below issue with some customers after migration from SMS 2003 to SCCM 2007 and epically if they change site code, some clients may appear in the console with old site code, plus old sites still appearing …
    Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
    The viewer will learn how to implement Singleton Design Pattern in Java.
    This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now