Name | wagtail-localize JSON |
Version |
1.11.2
JSON |
| download |
home_page | None |
Summary | Translation plugin for Wagtail CMS |
upload_time | 2025-01-31 15:40:49 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
|
# Wagtail localize
<!--content-start-->
[](https://pypi.python.org/pypi/wagtail-localize/)
[](https://opensource.org/licenses/BSD-3-Clause)
[](https://codecov.io/gh/wagtail/wagtail-localize)
[](https://github.com/astral-sh/ruff)
[](https://results.pre-commit.ci/latest/github/wagtail/wagtail-localize/main)
Wagtail Localize is a translation plugin for the [Wagtail CMS](https://wagtail.org). It allows pages or snippets to be translated within Wagtail's admin interface. It also provides integrations with external translations services such as [Pontoon](https://pontoon.mozilla.org/) or [DeepL](https://www.deepl.com/), and importing/exporting translations with PO files.
[Documentation](https://wagtail-localize.org)
[Changelog](https://github.com/wagtail/wagtail-localize/blob/main/CHANGELOG.md)
## Join the Community at Wagtail Space!
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 Space NL](https://nl.wagtail.space/), Arnhem, The Netherlands. 2024-06-14
- [Wagtail Space US](https://us.wagtail.space/), Philadelphia, PA. 2024-06-20 to 2024-06-22
## Requirements
Wagtail Localize requires the following:
- Python (3.9, 3.10, 3.11)
- Django (4.2, 5.0, 5.1)
- Wagtail (5.2, 6.1) with [internationalisation enabled](https://docs.wagtail.org/en/stable/advanced_topics/i18n.html#configuration)
- [wagtail-modeladmin](https://pypi.org/project/wagtail-modeladmin/) if `using wagtail_localize.modeladmin` and Wagtail >= 5.2
## Installation
Install using `pip`:
```shell
pip install wagtail-localize
```
Add `wagtail_localize` and `wagtail_localize.locales` to your `INSTALLED_APPS` setting:
```python
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.
```shell
python manage.py collectstatic
```
## Contributing
All contributions are welcome!
### Install
To make changes to this project, first clone this repository:
```sh
git clone git@github.com:wagtail/wagtail-localize.git
cd wagtail-localize
```
With your preferred virtualenv activated, install testing dependencies:
#### Using pip
```sh
pip install "pip>=21.3"
pip install -e '.[testing]' -U
```
#### Using flit
```sh
pip install "flit>=3.8.0"
flit install
```
### pre-commit
Note that this project uses [pre-commit](https://github.com/pre-commit/pre-commit). To set up locally:
```shell
# 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
```
### How to run tests
Now you can run tests as shown below:
```sh
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`.
## Support
For support, please use [GitHub Discussions](https://github.com/wagtail/wagtail-localize/discussions) or ask a question on the `#multi-language` channel on [Wagtail's Slack instance](https://wagtail.org/slack/).
## Thanks
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.
<!--content-end-->
Raw data
{
"_id": null,
"home_page": null,
"name": "wagtail-localize",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "Dan Braghis <dan.braghis@torchbox.com>",
"keywords": null,
"author": null,
"author_email": "Karl Hobley <karl@torchbox.com>",
"download_url": "https://files.pythonhosted.org/packages/94/04/353dc0ff7433bb71487e526413ac5af7467cce8b8888ca45df27f965ed31/wagtail_localize-1.11.2.tar.gz",
"platform": null,
"description": "# Wagtail localize\n\n<!--content-start-->\n\n[](https://pypi.python.org/pypi/wagtail-localize/)\n[](https://opensource.org/licenses/BSD-3-Clause)\n[](https://codecov.io/gh/wagtail/wagtail-localize)\n[](https://github.com/astral-sh/ruff)\n[](https://results.pre-commit.ci/latest/github/wagtail/wagtail-localize/main)\n\nWagtail Localize is a translation plugin for the [Wagtail CMS](https://wagtail.org). It allows pages or snippets to be translated within Wagtail's admin interface. It also provides integrations with external translations services such as [Pontoon](https://pontoon.mozilla.org/) or [DeepL](https://www.deepl.com/), and importing/exporting translations with PO files.\n\n[Documentation](https://wagtail-localize.org)\n[Changelog](https://github.com/wagtail/wagtail-localize/blob/main/CHANGELOG.md)\n\n## Join the Community at Wagtail Space!\n\nWe'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.\n\n- [Wagtail Space NL](https://nl.wagtail.space/), Arnhem, The Netherlands. 2024-06-14\n- [Wagtail Space US](https://us.wagtail.space/), Philadelphia, PA. 2024-06-20 to 2024-06-22\n\n## Requirements\n\nWagtail Localize requires the following:\n\n- Python (3.9, 3.10, 3.11)\n- Django (4.2, 5.0, 5.1)\n- Wagtail (5.2, 6.1) with [internationalisation enabled](https://docs.wagtail.org/en/stable/advanced_topics/i18n.html#configuration)\n- [wagtail-modeladmin](https://pypi.org/project/wagtail-modeladmin/) if `using wagtail_localize.modeladmin` and Wagtail >= 5.2\n\n## Installation\n\nInstall using `pip`:\n\n```shell\npip install wagtail-localize\n```\n\nAdd `wagtail_localize` and `wagtail_localize.locales` to your `INSTALLED_APPS` setting:\n\n```python\nINSTALLED_APPS = [\n # ...\n \"wagtail_localize\",\n \"wagtail_localize.locales\", # This replaces \"wagtail.locales\"\n # ...\n]\n```\n\n`wagtail-localize` loads additional assets for the editing interface. Run the `collectstatic` management command to collect all the required assets.\n\n```shell\npython manage.py collectstatic\n```\n\n## Contributing\n\nAll contributions are welcome!\n\n### Install\n\nTo make changes to this project, first clone this repository:\n\n```sh\ngit clone git@github.com:wagtail/wagtail-localize.git\ncd wagtail-localize\n```\n\nWith your preferred virtualenv activated, install testing dependencies:\n\n#### Using pip\n\n```sh\npip install \"pip>=21.3\"\npip install -e '.[testing]' -U\n```\n\n#### Using flit\n\n```sh\npip install \"flit>=3.8.0\"\nflit install\n```\n\n### pre-commit\n\nNote that this project uses [pre-commit](https://github.com/pre-commit/pre-commit). To set up locally:\n\n```shell\n# go to the project directory\n$ cd wagtail-localize\n# initialize pre-commit\n$ pre-commit install\n\n# Optional, run all checks once for this, then the checks will run only on the changed files\n$ pre-commit run --all-files\n```\n\n### How to run tests\n\nNow you can run tests as shown below:\n\n```sh\ntox\n```\n\nor, you can run them for a specific environment `tox -e python3.11-django4.2-wagtail5.2` or specific test\n`tox -e python3.11-django4.2-wagtail5.2-sqlite -- wagtail_localize.tests.test_edit_translation.TestGetEditTranslationView`\n\nTo run the test app interactively, use `tox -e interactive`, visit `http://127.0.0.1:8020/admin/` and log in with `admin`/`changeme`.\n\n## Support\n\nFor support, please use [GitHub Discussions](https://github.com/wagtail/wagtail-localize/discussions) or ask a question on the `#multi-language` channel on [Wagtail's Slack instance](https://wagtail.org/slack/).\n\n## Thanks\n\nMany 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.\n\n<!--content-end-->\n\n",
"bugtrack_url": null,
"license": null,
"summary": "Translation plugin for Wagtail CMS",
"version": "1.11.2",
"project_urls": {
"Documentation": "https://wagtail-localize.org",
"Home": "https://wagtail-localize.org",
"Source": "https://github.com/wagtail/wagtail-localize"
},
"split_keywords": [],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "a6fdb0f0184e309929c0361cf79f6537d72c5bf7caaa0cea23ccee9e21c45998",
"md5": "d6e6e2e4b5dfbf5285dd2ed6b4985bbc",
"sha256": "0e0099e1fce21afe26d8052bcab1af95848387458c2c647de3b0d1dde0c010bf"
},
"downloads": -1,
"filename": "wagtail_localize-1.11.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d6e6e2e4b5dfbf5285dd2ed6b4985bbc",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 512489,
"upload_time": "2025-01-31T15:40:47",
"upload_time_iso_8601": "2025-01-31T15:40:47.774882Z",
"url": "https://files.pythonhosted.org/packages/a6/fd/b0f0184e309929c0361cf79f6537d72c5bf7caaa0cea23ccee9e21c45998/wagtail_localize-1.11.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "9404353dc0ff7433bb71487e526413ac5af7467cce8b8888ca45df27f965ed31",
"md5": "2640497ddde96946238b61c23198cca7",
"sha256": "11ba2466038eb5ca2877f7a07ae1d288f39d4f21aaf728f0ee747885a871d8e0"
},
"downloads": -1,
"filename": "wagtail_localize-1.11.2.tar.gz",
"has_sig": false,
"md5_digest": "2640497ddde96946238b61c23198cca7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 285275,
"upload_time": "2025-01-31T15:40:49",
"upload_time_iso_8601": "2025-01-31T15:40:49.749625Z",
"url": "https://files.pythonhosted.org/packages/94/04/353dc0ff7433bb71487e526413ac5af7467cce8b8888ca45df27f965ed31/wagtail_localize-1.11.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-31 15:40:49",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "wagtail",
"github_project": "wagtail-localize",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "wagtail-localize"
}