New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Translation] Add Mozilla Fluent support to Translation component #31268
Comments
We will have several things to consider here:
The hardest point is probably the first one. The next points are adding complexity to Symfony that we would have to maintain, but are not impossible to solve. |
My guess (not based on any objective data) is that nobody uses Fluent except Mozilla. I'd wait to see if it gains more popularity before considering to add support for it or not (keeping in mind @stof's comments too about the technical challenges of this format). |
@javiereguiluz that's a double-edge argument though. Nobody will start using Fluent in the Symfony community because the Translation component does not support it. |
Is there any comparison with the intl-icu format somewhere? |
Justification of the new format here: https://github.com/projectfluent/fluent/wiki/Fluent-and-ICU-MessageFormat |
2 month later, do we want to implement it ? |
Let's close for now. If more people ask for it, we will reconsider. |
Description
Recently Mozilla released stable version of Fluent - it's specification for storing and managing translations in human-readable format. The main benefits of Fluent:
Links:
Example
Fluent syntax looks pretty similar to YAML format used by symfony/translation, but much more flexible.
Symfony example:
Fluent example:
The text was updated successfully, but these errors were encountered: