Zubairu
Zubairu

Reputation: 31

How to change the keybroad language in phonegap

I am very new to phonegap development and I'm working on a phonegap-based program. When I use input, the keyboard always shows up with Next, Prev and Done. After some searching, I have determined that these three buttons are not removable. So now I wonder if I can change these buttons to local language, such as Chinese.

How can I do this?

Upvotes: 1

Views: 1794

Answers (2)

Zubairu
Zubairu

Reputation: 31

Thank you all guys, finally I found how to slove this problem. JUST add a language resource in the localizations of the project in the xcode. So the keyboard in the phonegap app can fit the language that you set in your device.

In my case, I add chinese language resource, and in the phonegap app the keyboard can display "Next","Prev","Done" in chinese.

Upvotes: 2

Titouan de Bailleul
Titouan de Bailleul

Reputation: 12949

The language of buttons on a keyboard probably depends on the language that has been set for the whole the device. I don't think you can change it via PhoneGap

Upvotes: 0

Related Questions