Skip to content

Latest commit

 

History

History
52 lines (42 loc) · 1.76 KB

README.md

File metadata and controls

52 lines (42 loc) · 1.76 KB

localize-app-name

This plugin provides a way to localize your app name

iOS: add the corresponding language folders to locales/ios (the default appname will set in XDK project Build Settings)

For Android: no plugin require as it can be done through config.xml:

    <resource-file src="files/android/res/values/strings.xml" target="res/values/strings.xml" />
    <resource-file src="files/android/res/values-en/strings.xml" target="res/values-en/strings.xml" />

Supported Platforms

  • iOS

Example

e.g. if appname default in zh-TW, with additional zh-CN and en locale, then

Step 1: Enter plugin.xml with

  <!-- 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 InfoPlist.strings to your appname