Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
.. image:: https://badge.fury.io/py/fluent-compiler.svg :target: https://badge.fury.io/py/fluent-compiler
.. image:: https://readthedocs.org/projects/fluent-compiler/badge/?version=latest&style=flat :target: https://fluent-compiler.readthedocs.io
.. image:: https://github.com/django-ftl/fluent-compiler/workflows/Python%20package/badge.svg :target: https://github.com/django-ftl/fluent-compiler/actions?query=workflow%3A%22Python+package%22
This is a Python implementation of Project Fluent <https://www.projectfluent.org/>
_, a localization
framework designed to unleash the entire expressive power of natural
language translations.
It provides a different implementation from the official
fluent.runtime <https://github.com/projectfluent/python-fluent>
_
implementation, distinguished mainly by:
exec
(similar
to the strategy used by projects like Mako, Jinja2 and Genshi).To install::
pip install fluent_compiler
See the docs folder <https://github.com/django-ftl/fluent-compiler/tree/master/docs/>
_ or read them on readthedocs.org <https://fluent-compiler.readthedocs.io/en/latest/>
_.
If you are using Django, see django-ftl <https://github.com/django-ftl/django-ftl>
_ which
wraps the functionality here in Django-specific ways.
See history <https://fluent-compiler.readthedocs.io/en/latest/history.html>
_ for a CHANGELOG.
fluent-compiler is a complete and very mature implementation of all the Fluent spec up to version 1.0 (the latest at the time of writing).
In terms of API of this package, we are not planning backwards incompatible changes to the publicly documented interfaces, and will provide deprecation warnings for any changes.
The nature of the library is such that we expect most users will want to create their own wrappers anyway, which you are encouraged to do, in order to be able to absorb any backwards incompatible changes easily.
See the issues list <https://github.com/django-ftl/fluent-compiler/issues>
_
for planned features, and CONTRIBUTING.rst <CONTRIBUTING.rst>
_ for information
about how to contribute, and the architecture docs <ARCHITECTURE.rst>
_.
Check out the contributing docs <CONTRIBUTING.rst>
_ and the architecture notes <ARCHITECTURE.rst>
_ for information that will help you before you start
hacking.
This code was originally developed as part of fluent.runtime
, as an
alternative implementation of FluentBundle
, but never got merged to the
master branch. It has now been pulled out as a separate package. This is why
the repo's history contains fluent.syntax
and early versions of fluent.runtime
,
but the parts that are left in this repo all derive from the original version
of fluent.runtime
contributed by @spookylukey from a540993a085e36a9679e12f1ee7317ddc1ece5ad <https://github.com/django-ftl/fluent-compiler/commit/a540993a085e36a9679e12f1ee7317ddc1ece5ad>
_ onwards and the new compiler implementation in d1481d61e0bc1a28a228a4b6d5258350d436e765 <https://github.com/django-ftl/fluent-compiler/commit/d1481d61e0bc1a28a228a4b6d5258350d436e765>
_ (which is squashed version of work done over a much longer period). Thats why
we also corrected <https://github.com/django-ftl/fluent-compiler/commit/33c1b5b586858132d3ab7af749c2bde1bb5205b5>
_
the copyright notice from Mozilla to Luke Plant.
FAQs
Blazing fast implementation of Fluent localization language.
We found that fluent-compiler demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.