Supported languages iOS Apache Cordova
Cordova / PhoneGap Plugin that exposes supported languages to the App Store (iTunes).
On iOS, Cordova declares (just) english as supported language. Since most of the
i18n solutions that developers use for their translation/internazionalizations
language is also supported. You need to explicitly declare those languages
Since I'm lazy I prefer letting a plugin do this job (avoiding the need to re-edit the file everytime I do a fresh build from the cordova cli). Hope you find it useful as well.
Latest published version on npm (with Cordova CLI >= 5.0.0)
cordova plugin add cordova-plugin-ios-localized-strings --variable MAIN_LANGUAGE=English --variable ADDITIONAL_LANGUAGES=it,fr,de
Latest version from GitHub
cordova plugin add https://github.com/enricodeleo/cordova-plugin-ios-localized-strings.git --variable MAIN_LANGUAGE=English --variable ADDITIONAL_LANGUAGES=it,fr,de
The following language codes are valid options for the
Applies to iOS only.
For ionic/angular v1.x based projects I really like gabegorelick/gulp-angular-gettext.