Skip to main content

Localization library for expressive translations.

Project description

Use Fluent to localize your Python application. It comes with a Localization class to use, based on an implementation of FluentBundle. It uses the parser from fluent.syntax to read Fluent files.

>>> from datetime import date
>>> l10n = DemoLocalization("today-is = Today is { $today }")
>>> val = l10n.format_value("today-is", {"today": })
>>> val
'Today is Jun 16, 2018'

Find the full documentation on

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for fluent.runtime, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size fluent.runtime-0.3.1-py2.py3-none-any.whl (14.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size fluent.runtime-0.3.1.tar.gz (12.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page