https://github.com/quart-addons/quart-libretranslate
LibreTranslate extension for Quart.
https://github.com/quart-addons/quart-libretranslate
i18n libretranslate python3 quart translate
Last synced: 6 months ago
JSON representation
LibreTranslate extension for Quart.
- Host: GitHub
- URL: https://github.com/quart-addons/quart-libretranslate
- Owner: Quart-Addons
- License: mit
- Created: 2023-11-24T03:27:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-06T14:51:49.000Z (12 months ago)
- Last Synced: 2025-03-24T18:06:26.580Z (6 months ago)
- Topics: i18n, libretranslate, python3, quart, translate
- Language: Python
- Homepage: https://quart-libretranslate.readthedocs.io/en/latest/
- Size: 130 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quart LibreTranslate

This is a basic extension to use [LibreTranslate][] in your Quart app
and is based on [AIOHttp][]. LibreTranslate can be ran on the same server
as your Quart app allowing you not needing a third-party provider.# Installation
Install the extension with the following command:
$ pip3 install quart-libretranslate
# Usage
To use the extension simply import the class wrapper and pass the Quart app
object back to here. Do so like this:from quart import Quart
from quart_libretranslate import LibreTranslateapp = Quart(__name__)
translate = LibreTranslate(app)# Documentation
The for Quart-Babel and is available [here][docs].
[LibreTranslate]: https://github.com/LibreTranslate/LibreTranslate
[AIOHttp]: https://docs.aiohttp.org/en/stable/
[docs]: https://quart-libretranslate.readthedocs.io/en/latest/