Supported File Types (Strings)

.PLIST - Objective-C/Cocoa Property List (Strings)

Content is machine translated from English by Phrase Language AI.

File Extensions

.plist

API Extension

plist

Import

Yes

Export

Yes

Plural forms support

No

Description support

No

Code Sample

<?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>This key has a description! (At least in some formats)</string>
  </dict>
  <dict>
    <key>key_with_line-break</key>
    <string>This translations contains
a line-break.</string>
  </dict>
  <dict>
    <key>nested.deeply.key</key>
    <string>I'm a deeply nested key.</string>
  </dict>
  <dict>
    <key>nested.key</key>
    <string>This key is nested inside a namespace.</string>
  </dict>
  <dict>
    <key>null_translation</key>
    <string/>
  </dict>
  <dict>
    <key>pluralized_key.one</key>
    <string>Only one kitten found.</string>
  </dict>
  <dict>
    <key>pluralized_key.other</key>
    <string>Hey, you have %s kittens!</string>
  </dict>
  <dict>
    <key>pluralized_key.zero</key>
    <string>You have no kittens.</string>
  </dict>
  <dict>
    <key>sample_collection</key>
    <string>---
- first item
- second item
- third item
</string>
  </dict>
  <dict>
    <key>simple_key</key>
    <string>Just a simple key with a simple message.</string>
  </dict>
  <dict>
    <key>unverified_key</key>
    <string>This translation is not yet verified and waits for it. (In some formats we also export this status)</string>
  </dict>
</plist>
Was this article helpful?

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.