Input keyboard localization

7 posts, 0 answers
  1. Anton
    Anton avatar
    8 posts
    Member since:
    Aug 2014

    Posted 27 Dec 2015 Link to this post

    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.

  2. Anton
    Anton avatar
    8 posts
    Member since:
    Aug 2014

    Posted 27 Dec 2015 in reply to Anton Link to this post

    I use Windows Phone 8.1 application
  3. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 30 Dec 2015 Link to this post

    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
  4. Anton
    Anton avatar
    8 posts
    Member since:
    Aug 2014

    Posted 03 Jan in reply to Ivaylo Gergov Link to this post

    I don't understand which InputScope could be used to ensure that keyboard depends on current language?
  5. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 07 Jan Link to this post

    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
  6. Anton
    Anton avatar
    8 posts
    Member since:
    Aug 2014

    Posted 31 Jan Link to this post

    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?

  7. Ivaylo Gergov
    Admin
    Ivaylo Gergov avatar
    661 posts

    Posted 03 Feb Link to this post

    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
Back to Top