Page 1 of 1

how chang language to zh-chs

Posted: Fri May 06, 2011 4:09 am
by dingfeng_wu
:biggrin:

how chang language to zh-chs

Posted: Fri May 06, 2011 6:35 am
by Andrew
Hello,

Please see the attached image.

Thank you.

how chang language to zh-chs

Posted: Fri May 06, 2011 7:13 am
by Andrew
..in addition

"Copy the localization .xml files to the Localization folder in your project. All languages will be automatically detected in WebDesignerSL. To change the default localization set the following property:


"
Thank you.

how chang language to zh-chs

Posted: Sun May 08, 2011 8:16 pm
by hotcat
Hello

I use the following code:
report = new StiReport();
.....
report.Design();

How I use the localization language?

Thank you

how chang language to zh-chs

Posted: Tue May 10, 2011 2:07 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

public MainPage()
{
	System.Reflection.Assembly asm = System.Reflection.Assembly.GetExecutingAssembly();
        StiConfig.LoadLocalization(asm, "SilverlightApplication1.Localization.zh-CHS.xml");
        //StiConfig.LoadLocalization(asm, "SilverlightApplication1.Localization.zh-CHT.xml");
	InitializeComponent();
}
Thank you.