BCGSoft Forums
BCGSoft Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 BCGControlBar for .NET Forums
 BCGControlBar Library .NET edition
 RibbonControl QAT language
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

xdaiana

2 Posts

Posted - 12/16/2010 :  09:05:18 AM  Show Profile  Reply with Quote
Hello,

How can I change the language of the Quick Access Toolbar customization interface of the Ribbon Control in order to correspond with the language of the users' operating system?
I'm using the .NET version of BCG software and the project is in VBasic.net

Thanks in advance
Daiana


Edited by - xdaiana on 12/16/2010 09:08:49 AM

Support

4187 Posts

Posted - 12/21/2010 :  07:45:02 AM  Show Profile  Visit Support's Homepage  Reply with Quote
You need to translate QAT Customize Form UI strings and prepare satellite assembly
for each language and put the result folders beside your application to get result
with different locales.

To localize strings on this form you can change BCGSoft.Shared.Localization project.
Copy Resource.resx file within the project and give it the name for needed culture e.g for Russian culture
the name should be StringResource.ru-Ru.resx as you can find within BCGSoft.Shared.Localization
project.
Then open this file in the resource editor and replace English strings with the new language strings.
The names of the strings for QAT Customize Form begins with “ID_RIBBONCCONTROL_CUZTFORM”
e.g. ID_RIBBONCCONTROL_CUZTFORM_TITLE is the string for the title of the form.
Note: Just change the “Value” column and keep the “Name” column as is.
After you rebuild BCGSoft.Shared.Localization project
you will find a new folder (e.g. “ru-Ru” for Russian language) with a new satellite assembly
BCGSoft.Shared.Localization.resources.dll
You should put the whole folder beside your application.
Now if you change current locale (system settings) to corresponding language ,
and run your application you will see the customize form UI in this language.

As an example you can also see how we add support for Russian language
inside the BCGSoft.Shared.Localization project.
Please see files Resource.ru-Ru.resx and StringResource.ru-Ru.resx,
They contains the same names as Resource.resx and StringResource.resx,
however all English value strings has been replaced with the Russian strings.
If you need support for other languages - follow the same process
once again - copy Resource.resx and StringResource.resx,
rename files (according to the culture) and translate strings.
You can also check our LocalizationExample where you can
switch to different language in the same application.

Best Regards,

BCGSoft Technical Support
Go to Top of Page

xdaiana

2 Posts

Posted - 12/23/2010 :  05:14:13 AM  Show Profile  Reply with Quote
It's functioning perfectly! Thanks a lot!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To:
BCGSoft Forums © Copyright (c) 1998-2022 BCGSoft Co Ltd Go To Top Of Page
Snitz Forums 2000