0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

【個人的備忘】Info.plistのローカライズ/アプリの言語を日本語のみにする

Last updated at Posted at 2021-03-04

Info.plistのローカライズ

(0. PROJECTのLocalizationsで対象の言語を追加しておく)

  1. 「InfoPlist.strings」のファイル名でStrings Fileを新規作成する
  2. 作成したInfoPlist.stringsファイルの「Localization」で言語を選択する
    複数言語選択しないと、端末の設定で、アプリごとに言語を選択できる項目が表示されない。
  3. 言語ごとのファイルが自動生成されるので、生成されたファイルに内容を記載する
    例)Info.plistのBundle nameはプライマリ言語で記載し、
    それ以外の言語ファイルにCFBundleName = "(アプリ名)";と記載

アプリの言語を日本語のみにする

Info.plistで以下を追加・変更
Localization native development region: Japan
Localizations: Japanese (ArrayのItem 0に設定)

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?