Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mozilla/puente
UNMAINTAINED: Django/Jinja2 l10n extract/merge commands and things (Tower replacement)
https://github.com/mozilla/puente
Last synced: 3 months ago
JSON representation
UNMAINTAINED: Django/Jinja2 l10n extract/merge commands and things (Tower replacement)
- Host: GitHub
- URL: https://github.com/mozilla/puente
- Owner: mozilla
- License: bsd-3-clause
- Archived: true
- Created: 2015-10-26T19:39:08.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-05-11T20:37:47.000Z (over 2 years ago)
- Last Synced: 2024-04-14T00:50:03.214Z (7 months ago)
- Language: Python
- Homepage:
- Size: 182 KB
- Stars: 13
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- starred-awesome - puente - Django/Jinja2 l10n extract/merge commands and things (Tower replacement) (Python)
README
======
puente
======**Note (2022-05-11): This project is no longer maintained.**
.. image:: puente_logo.jpg
Puente is a Python library that handles l10n things for Django projects
using Jinja2 templates.* extract command to extract strings from your project and shove them into a
``.pot`` file
* merge command that merges new strings from a ``.pot`` file into locale ``.po``
files
* code to collapse whitespace for Jinja2's trans block
* add pgettext and npgettext to template environment and they correctly
escape things and work the same way as Jinja2's newstyle gettext
* configured using Django settings
* solid documentation
* solid testsThis is derived from `Tower `_, but heavily
changed.This project is lightly maintained, and the goal is to phase it out, replacing
it with
`standard Django `_
for most cases, and
`Babel `_ for more complex cases. For more
information, see the issues and the
`current status of phasing Puente out `_.:Code: https://github.com/mozilla/puente/
:Issues: No longer maintained.
:License: BSD 3-clause; See LICENSE
:Contributors: See AUTHORS.rst
:Documentation: https://puente.readthedocs.io/Install
=======From PyPI
---------Run::
$ pip install puente
For hacking
-----------Run::
# Clone the repository
$ git clone https://github.com/mozilla/puente# Create a virtualenvironment
...# Install Puente and dev requirements
$ pip install -r requirements-dev.txtUsage
=====See `documentation ` for configuration and usage.