fluent_compiler 0.4 (under development)¶
Dropped support for Python 2.7 and Python < 3.6
Lots of code style cleanups using black etc.
fluent_compiler 0.3 (2020-11-18)¶
Fixed test suite on Python 3.8
fluent_numberobey format specifiers for currencies
fluent_compiler 0.2 (2020-04-02)¶
fluent_compiler.bundle.FluentBundleAPI - backwards incompatible. In this release, we are diverging from the
fluent.runtime0.1 interface to make something that better suits both our implementation and our target audience to come up with better APIs. The changes are especially driven by the needs of the
django-ftlpackage, without being tied to Django in any way.
It should be relatively straightforward to convert. Instead of doing:
bundle = FluentBundle(locale_list, options) bundle.add_messages(...)
You now do:
bundle = FluentBundle.from_string(locale, string)
bundle = FluentBundle.from_files(locale, ['file1.ftl', 'file2.ftl'])
fluent_compiler.compiler.compile_messages()function which is slightly lower level than
fluent_compiler 0.1.1 (2020-03-24)¶
Small packaging improvements
fluent_compiler 0.1 (2020-03-22)¶
Separated this package off from a branch of
First release to PyPI of
This release contains a
FluentBundleimplementation that can generate translations from FTL messages, compatible with
Targets the Fluent 1.0 spec.