Ruby YAML 檔案

Ruby i18n YAML 檔案用語言作為根節點。

也參考

範例 Ruby i18n YAML 檔案:

cs:
  weblate:
    hello: ""
    orangutan:
      one: "Orangutan  %d banán.\n"
      few: "Orangutan  %d banány.\n"
      other: "Orangutan  %d banánů.\n"
    try: ""
    thanks: ""
支持的功能

檔案擴充

.yml

Linguality

單語言

Supports plural

Yes

支援描述

No

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

ruby-yaml

Supports read-only strings

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

translations/messages.*.yml

單語的基底語言檔

translations/messages.en.yml

新翻譯的範本

檔案格式

Ruby YAML 檔案