Fluent format#

在 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.

Weblate 設定組態#

典型的 Weblate 組件組態

文件掩碼

locales/*/messages.ftl

單語的基底語言檔

locales/en/messages.ftl

新翻譯的模板

Empty

檔案格式

Fluent file