Hi,
i’m testing my ionic app on my french iPhone. When I’m showing the keyboard, the text in Accessory Bar is in english (“Done”) and not in french. Is it normal ?
Same problem with the copy / paste actions
Thanx for your help !
Hi,
i’m testing my ionic app on my french iPhone. When I’m showing the keyboard, the text in Accessory Bar is in english (“Done”) and not in french. Is it normal ?
Same problem with the copy / paste actions
Thanx for your help !
I think it is in english by default.
If you want to translate then you can use:
Hi !
the keyboard is not a system element ?
I think it is cordova plugins keyboard:
$ionicPlatform.ready(function() {
// Hide the accessory bar by default (remove this to show the accessory bar above the keyboard
// for form inputs)
if (window.cordova && window.cordova.plugins && window.cordova.plugins.Keyboard) {
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(true);
}
if (window.StatusBar) {
// org.apache.cordova.statusbar required
StatusBar.styleLightContent();
}
});
But I am not sure. @Finality
You can see for native keyboard:
The Ionic keyboard plugin gives you native.showkeyboard and native.hidekeyboard events which can be used this way: After adding it to you project:
cordova plugin add https://github.com/driftyco/ionic-plugins-keyboard.git
use it this way:
window.addEventListener(‘native.hidekeyboard’, keyboardHideHandler);
window.addEventListener(‘native.showkeyboard’, keyboardShowHandler);
function keyboardHideHandler(e){
alert(‘Goodnight, sweet prince’);
}
function keyboardShowHandler(e){
alert('Keyboard height is: ’ + e.keyboardHeight);
}
Can try but I am not sure.
I don’t understannd the link betwee n the ionic plugin keyboard and my problem ^^ If I understandn ionic plugin keyboard allows to interact with the keyboard with JS. My problem is the translation of “Done” action in Accessory Bar of tke keyboard