Stringsdict 格式

Added in version 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>

Weblate 設定組態

典型的 Weblate 組件組態

檔案遮罩

Resources/*.lproj/Localizable.stringsdict

單語的基底語言檔

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

新翻譯的模板

Empty

檔案格式

Stringsdict 檔案