YAML 檔案

具有字串鍵和值的普通yaml文件。Weblate還從清單或詞典中提取字串。

Weblate 目前支援 YAML 翻譯的幾個變體:

YAML 檔案的範例:

weblate:
  hello: ""
  orangutan: ""
  try: ""
  thanks: ""
支持的功能

檔案擴充

.yml

Linguality

單語和雙語

Supports plural

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

yaml

Supports read-only strings

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

translations/messages.*.yml

單語的基底語言檔

translations/messages.en.yml

新翻譯的範本

檔案格式

YAML 檔案

檔案格式參數

檔案格式參數 with the pattern yaml_* can be used to configure the behavior of the YAML format.