Stringsdict 格式

在 4.8 版被加入.

XML based format used by Apple which is able to store plural forms of a string.

範例檔案:

<?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>hello</key>
        <dict>
            <key>NSStringLocalizedFormatKey</key>
            <string>Hello, world!
</string>
        </dict>
    </dict>
</plist>
支援的功能

副檔名

.stringsdict

語言能力

單語言和雙語言

支援複數

Yes

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

stringsdict

支援唯讀字串

No

Check flags added by this format

Objective-C 格式

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

Resources/*.lproj/Localizable.stringsdict

單語言基底語言檔案

Resources/en.lproj/Localizable.stringsdictResources/Base.lproj/Localizable.stringsdict

新翻譯的範本

空白

檔案格式

Stringsdict 檔案