流暢的格式

在 4.8 版被加入.

備註

Support for this format is under development. Some features might not yet be available and the behavior can change between releases. Feedback from testing is welcome.

Fluent is a monolingual text format that focuses on asymmetric localization: a simple string in one language can map to a complex multi-variant translation in another language.

範例檔案:

hello = Ahoj "světe"!\n
orangutan = Orangutan má %d banán.\n
try = Zkus Weblate na <https://demo.weblate.org/>!\n
thanks = Děkujeme za použití Weblate.
支持的功能

檔案擴充

.ftl

Linguality

單語言

Supports plural

No

支援描述

Yes

支援解釋

No

Supports context

No

Supports location

No

Supports flags

No

API 識別碼

fluent

支援唯讀字串

No

Weblate 配置

典型的 Weblate 組件配置

檔案遮罩

locales/*/messages.ftl

單語的基底語言檔案

locales/en/messages.ftl

新翻譯的範本

檔案格式

Fluent 檔案