Forum Xamarin.Forms

Announcement:

The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

How to change entry keyboard language change in run time

To be my knowledge we can change the complete application language using localization , But i want to change keyboard when i enter specific language.

Example : default is English. but when i enter Dutch word keypad should appear as dutch.

Answers

  • batmacibatmaci DEMember ✭✭✭✭✭

    hey, Did you find a solution for this? I am looking for it also? please let me know

  • ChristianMenChristianMen CHMember ✭✭

    Any solutions for this?

  • ChristianMenChristianMen CHMember ✭✭

    This worked for me:

    var key = new NSString("AppleLanguages"); 
    string[] languageValues = { languageCode };
    NSUserDefaults.StandardUserDefaults.SetValueForKey(NSArray.FromObjects(languageValues), key);
    NSUserDefaults.StandardUserDefaults.Synchronize();
    

    Set your desired language code ("en-US", "de-CH", etc.) to the variable languageCode.

  • VRahikkaVRahikka Member ✭✭

    Hi,

    For me setting "AppleLanguages" nor "AppleLocale" does nothing. Default values change, but nothing really changes in OS level.

    Are there any other solutions to change the current keyboard layout?

Sign In or Register to comment.