I know there is a question about this subject already but I think it's possible to change the text of the done button of a keyboard, because many of the apps I use are in french and the text of the done button is "accéder".
But I don't know how to do this?
First you need to set the android:imeOptions attribute equal to “actionDone” for your target EditText as seen below. That will change your 'RETURN' button in your EditText's soft keyboard to a 'DONE' button.
addDoneKeyboardButton() — creates the keyboard done button using UIToolbar. Inside the toolbar, we create a UIBarButtonItem. You can name the button however you want, and you can add multiple buttons (depending on your needs). In other words, use this function to customize the toolbar.
You can't set it to arbitrary text, but you can make it a canned word by setting the returnKeyType
on whatever text field or view is being used for editing. Possible values of UIReturnKeyType
are here:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UITextInputTraits_Protocol/Reference/UITextInputTraits.html%23//apple_ref/occ/intf/UITextInputTraits
These are generally localized with the app, though. If your app supports an "fr" localization, and the device is set to French, you should get the localized versions of the keyboard keys.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With