I am not able to create a custom locale for the AppRate plugin. Even after changing the locale, it’s still showing in English.
I did as per the instructions in https://github.com/pushandplay/cordova-plugin-apprate
module.config(function($cordovaAppRateProvider) {
document.addEventListener("deviceready", function() {
var customLocale = {};
customLocale.title = "Rate %@";
customLocale.message = "Rate %@ now?";
customLocale.cancelButtonLabel = "No, Thanks";
customLocale.laterButtonLabel = "Remind Me Later";
customLocale.rateButtonLabel = "Rate It Now";
var prefs = {
//language: 'en',
appName: 'Designs',
customLocale: customLocale,
androidURL: 'market://details?id=com.fdd.fgfg'
};
$cordovaAppRateProvider.setPreferences(prefs)
}, false);
});