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


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

Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

e-proConnect With a Mentor Author Commented:

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.

All Courses

From novice to tech pro — start learning today.