-
-
Notifications
You must be signed in to change notification settings - Fork 186
document the changes in p.a.multilingual regarding translation services and Google Translate. #2003
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+71
−76
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
bc25c97
document the changes in p.a.multilingual
erral b28bfa7
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
erral b175c75
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
erral e159ccf
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
erral 22e7fb1
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
erral ba77dab
Update docs/i18n-l10n/use-an-external-translation-service.md
erral ff1775f
Update docs/i18n-l10n/use-an-external-translation-service.md
erral a77be2d
Update docs/i18n-l10n/use-an-external-translation-service.md
erral 24350bb
Update docs/i18n-l10n/use-an-external-translation-service.md
erral d88c421
Update docs/i18n-l10n/use-an-external-translation-service.md
erral e584a8d
Merge branch '6.0' into erral-external-translations
erral a67f76f
Update docs/i18n-l10n/use-an-external-translation-service.md
erral b0c8c6a
Apply suggestions from code review
erral 97e2756
rename file
erral bfa3a57
add upgrade guide to the toctree
erral f9d10a6
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
erral 9fff06e
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
stevepiercy 472a56c
Apply suggestions from code review
erral 39cbfaa
Update docs/backend/upgrading/version-specific-migration/upgrade-to-6…
stevepiercy 25a7bf4
Add translate.svg icon, assuming it's correct
stevepiercy 6afb984
Update docs/i18n-l10n/use-an-external-translation-service.md
erral 7b61aa9
Update docs/i18n-l10n/use-an-external-translation-service.md
stevepiercy 3b0f87b
Update docs/i18n-l10n/use-an-external-translation-service.md
stevepiercy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,5 +27,6 @@ upgrade-to-python3 | |
| upgrade-zodb-to-python3 | ||
| upgrade-to-60 | ||
| upgrade-to-61 | ||
| upgrade-to-62 | ||
| migrate-to-volto | ||
| ``` | ||
36 changes: 36 additions & 0 deletions
36
docs/backend/upgrading/version-specific-migration/upgrade-to-62.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| myst: | ||
| html_meta: | ||
| "description": "How to upgrade to Plone 6.2" | ||
| "property=og:description": "How to upgrade to Plone 6.2" | ||
| "property=og:title": "How to upgrade to Plone 6.2" | ||
| "keywords": "Upgrade, Plone 6" | ||
| --- | ||
|
|
||
| (backend-upgrade-plone-v62-label)= | ||
|
|
||
| # Upgrade Plone 6.1 to 6.2 | ||
|
|
||
| Plone 6.2 has seen the following major changes. | ||
| Some may require changes in your setup. | ||
|
|
||
|
|
||
| ## Replaced Google Translate integration with generic translation integration | ||
|
|
||
| `plone.app.multilingual` had an integration to use only Google Translate to translate the content in the `babel_view`, where the content in two languages is shown side-by-side. | ||
| This integration was limited to only Google Translate. | ||
| In Plone 6.2, this integration has been replaced with a generic translation service integration hook. | ||
|
|
||
| [`collective.translators`](https://github.com/collective/collective.translators) provides some implementations for that hook, supporting AWS, Deepl, Deepseek, Google Translate, Libre Translate, and Ollama. | ||
| It can be extended to support more translation providers. | ||
|
|
||
| It is not mandatory to use `collective.translator`. | ||
| Any developer can write the integration with the tool of their choice. | ||
|
|
||
| See the {doc}`/i18n-l10n/use-an-external-translation-service` chapter for details. | ||
|
|
||
| To achieve that integration, the previously existing `gtranslation_service` browser view has been removed from `plone.app.multilingual`. | ||
|
|
||
| Due to not needing it anymore, the `plone.google_translation_key` registry entry has been removed, and it will be removed when performing the upgrade step to Plone 6.2. | ||
|
|
||
| The `babel_view` has been modified to call a new REST API endpoint instead of the old `gtranslation_service` browser view. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.