python-fluent icon indicating copy to clipboard operation
python-fluent copied to clipboard

Python implementation of Project Fluent

Results 33 python-fluent issues
Sort by recently updated
recently updated
newest added

As identified in https://github.com/mozilla/pontoon/issues/2470#issuecomment-1107451952, this happens: ```python from fluent.syntax import ast, FluentParser, FluentSerializer parser = FluentParser() serializer = FluentSerializer() string = """places-open-in-container-tab = .label = Բացել նոր ներդիրում .accesskey =...

Bumps [babel](https://github.com/python-babel/babel) from 2.9.0 to 2.9.1. Release notes Sourced from babel's releases. Version 2.9.1 Bugfixes The internal locale-data loading functions now validate the name of the locale file to be...

dependencies

When trying to access a string with the `format_value()` method, it returns the string normally given it's a relatively short string. But if a string longer than 73 lines is...

bug
help wanted
fluent.runtime

`fluent_value` does not provide a way to retrieve errors produced out of bundle - https://github.com/projectfluent/python-fluent/blob/c58681f1e90c14dd36c2ff35d7d487235b685177/fluent.runtime/fluent/runtime/fallback.py#L37 This makes it really hard to debug them for the user :)

bug
help wanted
fluent.runtime

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.3 to 1.26.5. Release notes Sourced from urllib3's releases. 1.26.5 :warning: IMPORTANT: urllib3 v2.0 will drop support for Python 2: Read more in the v2.0 Roadmap Fixed...

dependencies

I was reading through the [docs](https://projectfluent.org/python-fluent/fluent.runtime/stable/usage.html) and noticed: > We do not yet support NUMBER(..., currencyDisplay="name") - see [this python-babel pull request](https://github.com/python-babel/babel/pull/585) which needs to be merged and released. The...

... and update our testing and compat matrix beyond 3.5, too. This should be done syntax first, and then the other two.

fluent.syntax
fluent.runtime
fluent.pygments

Currently, mypy checking of my python code fails with: ``` error: Skipping analyzing 'fluent.runtime': found module but no type hints or library stubs ``` I'll just ignore the error for...

My local commit says WIP, so publishing this as a Draft.