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

.PLIST - Objective-C/Cocoa プロパティリスト(文字列)

本コンテンツは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>
    <string>--- true
</string>
  </dict>
  <dict>
    <key>empty_string_translation</key>
    <string/>
  </dict>
  <dict>
    <key>key_with_description</key>
    <string>このキーは説明です!(少なくとも一部のファイル形式で)</string>
  </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>---
- 最初のアイテム
- 2番目のアイテム
- 3番目のアイテム
</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.