This plugin provides a way to localize your app name
Android: add the corresponding language folders to locales/android other than the appname default locale (the default appname will set in XDK project Build Settings)
iOS: add the corresponding language folders to locales/ios (the default appname will set in XDK project Build Settings)
- Android
- iOS
e.g. if appname default in zh-TW, with additional zh-CN and en locale, then
Step 1: Enter plugin.xml with
<!-- android -->
<platform name="android">
<resource-file src="locales/android/values-en/strings.xml" target="res/values-en/strings.xml" />
<resource-file src="locales/android/values-zh-rCN/strings.xml" target="res/values-zh-rCN/strings.xml" />
</platform>
<!-- ios -->
<platform name="ios">
<resource-file src="locales/ios/en.lproj" />
<resource-file src="locales/ios/zh-hant.lproj" />
<resource-file src="locales/ios/zh-hans.lproj" />
</platform>
Step 2: Edit strings.xml/InfoPlist.strings to your appname