Skip to main content
All CollectionsKeys and filesSupported file formats
Objective-C/Cocoa Properties (.plist)
Objective-C/Cocoa Properties (.plist)
Nick Ustinov avatar
Written by Nick Ustinov
Updated this week

Objective-C/Cocoa Properties files (.plist) are used to store serialized objects and are a key component of macOS and iOS applications. These files are commonly used for configuration settings and localization data.

Technical information

Overview

Format name:
Objective-C/Cocoa Properties

File extensions:
.plist

Common use cases:
Managing and organizing configuration settings and localization strings in macOS and iOS applications.

Technical details:

  • Structure: .plist files are XML-based and consist of key-value pairs. Each key represents a specific setting or localized string, and the value can be a string, array, dictionary, date, number, or Boolean.

  • Encoding: UTF-8

Example:
Here's an example of a typical .plist file used for localization:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDisplayName</key>
<string>Lokalise</string>
<key>WelcomeMessage</key>
<string>Welcome to Lokalise!</string>
<key>FarewellMessage</key>
<string>Goodbye and see you soon!</string>
</dict>
</plist>

In this example, the .plist file includes three key-value pairs: CFBundleDisplayName, WelcomeMessage, and FarewellMessage, each with their corresponding localized strings.

Using with Lokalise

Lokalise supports .plist files, allowing you to manage and translate your application properties efficiently.

Supported project types

Please note that plist files can be uploaded only to Web and mobile projects.

Did this answer your question?