This is a migrated thread and some comments may be shown as answers.

Input keyboard localization

6 Answers 55 Views
NumericBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Anton
Top achievements
Rank 1
Anton asked on 27 Dec 2015, 02:58 PM

Hello, I try to use RadNumericBox with different culture settings. For example, I use "ru-RU" culture (Number separator is ","):

var culture = new CultureInfo("ru-RU");
Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = culture.Name;
CultureInfo.DefaultThreadCurrentCulture = culture;
CultureInfo.DefaultThreadCurrentUICulture = culture;

 I set primitives:CultureService.CultureName="ru-RU" at the control, but I still see "." separator on the keyboard and I can't input this separator. Could you explain me where I made a mistake?

 

Thanks.

6 Answers, 1 is accepted

Sort by
0
Anton
Top achievements
Rank 1
answered on 27 Dec 2015, 03:02 PM
I use Windows Phone 8.1 application
0
Ivaylo Gergov
Telerik team
answered on 30 Dec 2015, 08:58 AM
Hi,

Thank you for contacting us.

When you change the CultureService.CultureName property, indeed you change the culture of the control and the separator becomes comma instead of dot. The control uses a Number keyboard by default which does not include comma. However, you can change the keyboard as per your needs through the InputScope property and choose a keyboard which includes comma.

I hope this helps.

Regards,
Ivaylo Gergov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Anton
Top achievements
Rank 1
answered on 03 Jan 2016, 09:20 AM
I don't understand which InputScope could be used to ensure that keyboard depends on current language?
0
Ivaylo Gergov
Telerik team
answered on 07 Jan 2016, 07:00 AM
Hello,

I believe the InputScrope does not depend on the current culture. If you want to ensure all characters are available, you can use InputScope.Default.

Regards,
Ivaylo Gergov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Anton
Top achievements
Rank 1
answered on 31 Jan 2016, 06:01 PM

Hello,

I've found a strange behavior in RadNumericBox. I set up OS language as Russian and added two keyboard languages: English and Russian. After that I couldn't input any number separator (",", "."). Could you explain me this behavior?

0
Ivaylo Gergov
Telerik team
answered on 03 Feb 2016, 01:38 PM
Hi Anton,

Please, provide a sample app(to ensure we are on the same page) so I can test the scenario.


Regards,
Ivaylo Gergov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
NumericBox
Asked by
Anton
Top achievements
Rank 1
Answers by
Anton
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Share this question
or