YAML 檔案

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

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

YAML 檔案的範例:

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

副檔名

.yml

語言能力

單語和雙語

支援複數

No

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

yaml

支援唯讀字串

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.