1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
Fluent
======
`Fluent <https://projectfluent.org/>`_ is a localization system developed by
Mozilla for natural-sounding translations. It is a monolingual format where
each language has its own set of ``.ftl`` files.
Example:
.. code-block:: none
# Simple message
hello = Hello World!
# Message with a variable
greeting = Hello { $name }!
# Message with attributes
login-input =
.placeholder = email@example.com
.aria-label = Login input
.title = Login
Fluent is used by Firefox, Anki, and other projects. See the
`Fluent Syntax Guide <https://projectfluent.org/fluent/guide/>`_ for more
details on the format.
Convert Fluent files to PO format using :doc:`/commands/fluent2po`.
|