サポートするファイル形式(Strings)

.PLIST - Objective-C/Cocoa プロパティ一覧 (Strings)

本コンテンツはPhrase Language AIの機械翻訳により、英語から翻訳されています。

ファイル拡張子

.plist

API拡張

plist

インポート

はい

エクスポート

はい

複数形のサポート

いいえ

説明のサポート

いいえ

コードサンプル

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>boolean_key</key>
    <文字列>--- true
</string>
  </dict>
  <dict>
    <key>empty_string_translation</key>
    <string/>
  </dict>
  <dict>
    <key>key_with_description</key>
    <文字列>このキーには説明があります!(少なくとも一部のファイル形式)</文字列>
  </dict>
  <dict>
    <key>key_with_line-break</key>
    <文字列>この翻訳に含まれるもの
a line-break.</string>
  </dict>
  <dict>
    <key>nested.deeply.key</key>
    <文字列>私は深くネストされたキーです。</文字列>
  </dict>
  <dict>
    <key>nested.key</key>
    <文字列>このキーは名前空間内にネストされています。</文字列>
  </dict>
  <dict>
    <key>null_translation</key>
    <string/>
  </dict>
  <dict>
    <key>pluralized_key.one</key>
    <文字列>子猫が1匹見つかりました。</文字列>
  </dict>
  <dict>
    <key>pluralized_key.other</key>
    <文字列>おい、%s匹の子猫がいるぞ!</文字列>
  </dict>
  <dict>
    <key>pluralized_key.zero</key>
    <文字列>子猫はいません。</文字列>
  </dict>
  <dict>
    <key>sample_collection</key>
    <string>---
- 最初のアイテム
- 番目の項目
- 第三項目
</string>
  </dict>
  <dict>
    <key>simple_key</key>
    <文字列>シンプルなキーとシンプルなメッセージ</文字列>
  </dict>
  <dict>
    <key>unverified_key</key>
    <文字列>この翻訳はまだ検証済みされておらず、待機しています。(一部の形式では、このステータスもエクスポートされます)</文字列>
  </dict>
</plist>
この記事は役に立ちましたか?

Sorry about that! In what way was it not helpful?

The article didn’t address my problem.
I couldn’t understand the article.
The feature doesn’t do what I need.
Other reason.

Note that feedback is provided anonymously so we aren't able to reply to questions.
If you'd like to ask a question, submit a request to our Support team.
Thank you for your feedback.