Mobile Kotlin 資源

在 5.4 版被加入.

這是 Android 字串資源 的變體,差異在於複數標籤(使用 plural 而非 plurals)及逸出方式。

支援的功能

副檔名

.xml

語言能力 ⓘ

單語言

支援複數 ⓘ

Yes

支援描述 ⓘ

Yes

支援解釋 ⓘ

No

支援情境 ⓘ

No

支援位置 ⓘ

No

支援旗標 ⓘ

Yes

API 辨識碼

moko-resource

支援唯讀字串 ⓘ

Yes

支援移除已不再使用的字串 ⓘ

No

檢查此格式新增的標記 ⓘ

Java 格式

Weblate 設定

典型的 Weblate 組件設定

檔案遮罩

commonMain/composeResources/values-*/strings.xml

單語言基底語言檔案

commonMain/composeResources/values/strings.xml

新翻譯的範本

空白

檔案格式

Mobile Kotlin Resource