1

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?

Mogsdad
  • 44,709
  • 21
  • 151
  • 275
Zubairu
  • 31
  • 4

2 Answers2

2

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.

Zubairu
  • 31
  • 4
0

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

Titouan de Bailleul
  • 12,920
  • 11
  • 66
  • 121
  • I set my device to Chinese, but the keyboard still comes in English...I have work on this for days, but still no solution to slove this problem. – Zubairu Mar 15 '12 at 13:57
  • Sorry, not the language of the device but the keyboard of the device. You can have a device in chinese and still have a keyboard in english. You need to go under Settings > General > Keyboard > International (translated from french but it should be something like that) to add a new keyboard. – Titouan de Bailleul Mar 15 '12 at 14:31
  • @TDeBailleul my keyboard is set to English UK but the buttons are in German lol.... see here http://stackoverflow.com/questions/25245093/wrong-language-on-native-controls-ios-html5-cordova-app – Paranoid Android Aug 11 '14 at 14:22