python-fluent
python-fluent copied to clipboard
Python implementation of Project Fluent
VS Code doesn't like the fact that `fluent.syntax/runtests.py` looks like a Bash script (it's a symlink) rather than a Python script as the extension would suggest.
Per [upstream issue 296](https://github.com/projectfluent/fluent/issues/296), each `Junk` should end whenever a new line begins with a single character that _could_ be the start of a new `Entry` (i.e. `^[-#a-zA-Z]`). This is...
hello, is there a way to have the translation progress of a fluent file? for po files, I'm using this: http://docs.translatehouse.org/projects/translate-toolkit/en/latest/commands/pocount.html can I use python-fluent to do something equivalent?
I'm not sure what exact code re-organisation caused this, but it is a regression as far as I can tell. Interestingly, I caught this when re-basing my compiler branch onto...
Motivation for error handling changes and function signature checking - in short, we need to be more tolerant of translator errors, and less tolerant of developer errors. 1. We need...
In `BaseNode.equals`, we have an `ignore_fields` option. That'd also be nice for `Visitor`, as it would allow a visitor to skip annotations and spans at the point of enumerating the...
Arguments to `FluentBundle.format` may currently be instances of `FluentType` subclasses, or Uniode strings (`str` in Python 3). This mirrors the optimization from `fluent.js`, where primitive strings are treated as if...
Increment the minimum supported Python version to 3.9, and update code style and dependencies accordingly.
The `fluent.pygments` hasn't got an update in over 2.5 years. It's still version `1.0` in PyPI as well as here, even though there has been an update to it after...
The in build DATETIME function has support for python accepting `datetime.datetime` and `datetime.date` objects. This PR extends this support and to include `datetime.time`.