Skip to content

Instantly share code, notes, and snippets.

@mtsd
Created January 20, 2012 06:56
Show Gist options
  • Select an option

  • Save mtsd/1645872 to your computer and use it in GitHub Desktop.

Select an option

Save mtsd/1645872 to your computer and use it in GitHub Desktop.
xxx-Info.Plistのローカライズ

xxx-Info.Plistのローカライズ

InfoPlist.stringsの追加

  • PROJECT(xxxxx) > info > Localizations > +で[Japanese]を選択。[ja.lproj]フォルダが追加される。
  • Supporting Files > InfoPlist.strings を選択。右クリックから[delete]で[Remove References Only]でリファレンスを解除(ファイルは削除しない)
  • Supporting Filesを選択し、右クリックから[Add Files to "xxx"...]で[en.lproj]と[ja.lproj]を選択してプロジェクトに追加。

アプリ名を日本語表示する場合

ja.lproj/InfoPlist.stringsに

CFBundleDisplayName = "日本語アプリ"; // 6文字以内

を設定

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment