<a id="moko-resource"></a>

# Mobile Kotlin 资源

#### Versionadded
Added in version 5.4.

<a id="index-0"></a>

[Android 字符串资源](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats/android.md) 的变体。它的区别在于复数标签（使用 `plural` 而不是 `plurals`）和转义。

#### SEE ALSO
* [Mobile Kotlin 资源](https://github.com/icerockdev/moko-resources)
* [Android 字符串资源](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats/android.md)
* [Android string resources](https://docs.translatehouse.org/projects/translate-toolkit/en/latest/formats/android.html)

<!-- AUTOGENERATED START: format-features moko-resource -->
<!-- This section is automatically generated by `./manage.py list_format_features`. Do not edit manually. -->

#### 支持的功能

| 文件扩展名                                                                       | `.xml`                                                                          |
|-----------------------------------------------------------------------------|---------------------------------------------------------------------------------|
| Linguality [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#bimono)          | 单语言                                                                             |
| 支持复数 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-plurals)        | `Yes`                                                                           |
| 支持描述 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-description)    | `Yes`                                                                           |
| 支持解释 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-explanation)    | `No`                                                                            |
| 支持上下文 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-context)       | `No`                                                                            |
| 支持位置 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-location)       | `No`                                                                            |
| 支持标记 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#format-flags)          | `Yes`                                                                           |
| API 标识符                                                                     | `moko-resource`                                                                 |
| 支持只读字符串 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#read-only-strings)  | `Yes`                                                                           |
| 支持删除过时字符串 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/formats.md#obsolete-strings) | `No`                                                                            |
| 检查此格式添加的标记 [ⓘ](https://docs.weblate.org/zh-cn/weblate-2026.11.1/admin/checks.md#custom-checks)   | [Java 格式](https://docs.weblate.org/zh-cn/weblate-2026.11.1/user/checks.md#check-java-printf-format) |
<!-- AUTOGENERATED END: format-features moko-resource -->

## Weblate 配置

|             | 典型的 Weblate [部件配置](https://docs.weblate.org/zh-cn/weblate-2026.11.1/admin/projects.md#component)   |
|-------------|-----------------------------------------------------------------------------|
| 文件掩码        | `commonMain/composeResources/values-*/strings.xml`                          |
| 单语言译文模版语言文件 | `commonMain/composeResources/values/strings.xml`                            |
| 新语种的翻译模版    | 空                                                                           |
| 文件格式        | Mobile Kotlin 资源                                                            |
