Metadata-Version: 2.1
Name: fluent.runtime
Version: 0.4.0
Summary: Localization library for expressive translations.
Home-page: https://github.com/projectfluent/python-fluent
Author: Luke Plant
Author-email: L.Plant.98@cantab.net
License: APL 2
Keywords: fluent,localization,l10n
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3 :: Only
Description-Content-Type: text/x-rst

fluent.runtime |fluent.runtime|
===============================

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.

.. code-block:: python

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

Find the full documentation on https://projectfluent.org/python-fluent/fluent.runtime/.

.. _fluent: https://projectfluent.org/
.. |fluent.runtime| image:: https://github.com/projectfluent/python-fluent/workflows/fluent.runtime/badge.svg
