Default Localization
-
- Posts: 63
- Joined: Fri Jul 17, 2009 5:00 am
- Location: St. Gallen, Switzerland
Default Localization
Hi all
Which Localization will be used when the user selects the menu item Select UI Language --> Default?
Is it possible to set the default localization in code?
I want to preset (default) the localization, so it matches the language setting of our application.
But the user should be able to override this and selects another language, which will be saved.
Thank you
Andreas
Which Localization will be used when the user selects the menu item Select UI Language --> Default?
Is it possible to set the default localization in code?
I want to preset (default) the localization, so it matches the language setting of our application.
But the user should be able to override this and selects another language, which will be saved.
Thank you
Andreas
Default Localization
Hi Andreas,
Default localisation depends on the default culture. You could change it as follows:
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-GB");
And if the user changes localization in the designer menu then next time he loads the designer, the last chosen localisation will be used.
Thank you.
Default localisation depends on the default culture. You could change it as follows:
Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-GB");
And if the user changes localization in the designer menu then next time he loads the designer, the last chosen localisation will be used.
Thank you.
-
- Posts: 63
- Joined: Fri Jul 17, 2009 5:00 am
- Location: St. Gallen, Switzerland
Default Localization
Hi Edward
It works. Thank you very much.
It works. Thank you very much.
Default Localization
Hi Andreas,
Please let us know if you need any help.
Thank you.
Please let us know if you need any help.
Thank you.
Default Localization
Hi Edward,
Shouldn't UI language rely on Thread.CurrentThread.CurrentUICulture ?
Guillaume
Shouldn't UI language rely on Thread.CurrentThread.CurrentUICulture ?
Regards,Thread..::.CurrentUICulture Property
Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.
Guillaume
Default Localization
Hello Guillaume,
Stimulsoft Reports check following property for default localization:
CultureInfo.CurrentCulture.Name
Thank you.
Stimulsoft Reports check following property for default localization:
CultureInfo.CurrentCulture.Name
Thank you.