Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Wagtail Localize is a translation plugin for the Wagtail CMS. It allows pages or snippets to be translated within Wagtail's admin interface. It also provides integrations with external translations services such as Pontoon or DeepL, and importing/exporting translations with PO files.
We'll be at Wagtail Space US this year! The Call for Participation and Registration for both Wagtail Space 2024 events is open. We would love to have you give a talk, or just us as an attendee in June.
Wagtail Localize requires the following:
using wagtail_localize.modeladmin
and Wagtail >= 5.2Install using pip
:
pip install wagtail-localize
Add wagtail_localize
and wagtail_localize.locales
to your INSTALLED_APPS
setting:
INSTALLED_APPS = [
# ...
"wagtail_localize",
"wagtail_localize.locales", # This replaces "wagtail.locales"
# ...
]
wagtail-localize
loads additional assets for the editing interface. Run the collectstatic
management command to collect all the required assets.
python manage.py collectstatic
All contributions are welcome!
To make changes to this project, first clone this repository:
git clone git@github.com:wagtail/wagtail-localize.git
cd wagtail-localize
With your preferred virtualenv activated, install testing dependencies:
pip install "pip>=21.3"
pip install -e '.[testing]' -U
pip install "flit>=3.8.0"
flit install
Note that this project uses pre-commit. To set up locally:
# go to the project directory
$ cd wagtail-localize
# initialize pre-commit
$ pre-commit install
# Optional, run all checks once for this, then the checks will run only on the changed files
$ pre-commit run --all-files
Now you can run tests as shown below:
tox
or, you can run them for a specific environment tox -e python3.11-django4.2-wagtail5.2
or specific test
tox -e python3.11-django4.2-wagtail5.2-sqlite -- wagtail_localize.tests.test_edit_translation.TestGetEditTranslationView
To run the test app interactively, use tox -e interactive
, visit http://127.0.0.1:8020/admin/
and log in with admin
/changeme
.
For support, please use GitHub Discussions or ask a question on the #multi-language
channel on Wagtail's Slack instance.
Many thanks to all of our supporters, contributors, and early adopters who helped with the initial release. In particular, to The Mozilla Foundation and Torchbox who sponsored the majority of the initial development and Wagtail core's internationalisation support.
FAQs
Translation plugin for Wagtail CMS
We found that wagtail-localize demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.