Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/api/event_reference/translations_management_events.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

The [Translations management](translations_management_guide.md) package dispatches events at two levels.

<***>Update the intro: there are now also bulk translation job events.</***>

## Translation events

Translation events are dispatched for every field in each selected target language.
Expand All @@ -27,3 +29,7 @@
|---|---|---|
| [`OnContentSideBySideTranslationCreateEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-TranslationsManagement-SideBySide-Event-OnContentSideBySideTranslationCreateEvent.html) | `ContentTranslationCreateController` | When creating a draft side-by-side translation of a content item |
| [`OnProductSideBySideTranslationCreateEvent`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-TranslationsManagement-SideBySide-Event-OnProductSideBySideTranslationCreateEvent.html) | `ProductTranslationViewController` | When creating a draft side-by-side translation of a product |

## Bulk translation events

<***>Table of `BulkTranslationJobStartedEvent`, `BulkTranslationJobFinishedEvent`, and `BulkTranslationJobRemovedEvent` (namespace `Ibexa\Contracts\TranslationsManagement\BulkTranslations\Event`): when each is dispatched, and whether it's read-only. Verify in code.</***>

Check notice on line 35 in docs/api/event_reference/translations_management_events.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/api/event_reference/translations_management_events.md#L35 <Ibexa.Passive>

Try to avoid passive tense, when possible.
Raw output
{"message":"Try to avoid passive tense, when possible.","location":{"path":"docs/api/event_reference/translations_management_events.md","range":{"start":{"line":35,"column":208},"end":{"line":35,"column":221}}},"severity":"INFO","code":{"value":"Ibexa.Passive"}}
2 changes: 1 addition & 1 deletion docs/content_management/content_management_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Editors can [compare different content item versions]([[= user_doc =]]/content_m

#### Translations

Content items can have more than one [translation]([[= user_doc =]]/content_management/translate_content/).
Content items can have more than one [translation]([[= user_doc =]]/translations/translate_content/).
If a website has different fronts, for different locales, and different language versions of content exist, [[= product_name =]] serves the one that matches the locale.

![Translations](img/translations.png)
Expand Down
2 changes: 1 addition & 1 deletion docs/ibexa_products/editions.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Compare all features available in [[= product_name_headless =]], [[= product_nam
| [Image editor]([[= user_doc =]]/image_management/edit_images/) | &#10004; | &#10004; | &#10004; |
| [Content scheduler]([[= user_doc =]]/content_management/schedule_publishing/) | &#10004; | &#10004; | &#10004; |
| [SEO]([[= user_doc =]]/search_engine_optimization/seo/) | &#10004; | &#10004; | &#10004; |
| [Content translation]([[= user_doc =]]/content_management/translate_content/) | &#10004; | &#10004; | &#10004; |
| [Content translation]([[= user_doc =]]/translations/translate_content/) | &#10004; | &#10004; | &#10004; |
| [Search]([[= user_doc =]]/search/search_for_content/) | &#10004; | &#10004; | &#10004; |
| [Editorial workflow]([[= user_doc =]]/content_management/workflow_management/editorial_workflow/) | &#10004; | &#10004; | &#10004; |
| [Digital Asset Management]([[= user_doc =]]/dam/ibexa_dam/) | &#10004; | &#10004; | &#10004; |
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<div>Use machine translation, side-by-side editing view, and a review cycle to improve your translation experience.</div>
</div>
<div class="notification__cta">
<a href="multisite/translations_management/translations_management/">Learn more about this LTS Update</a>
<a href="translations_management/translations_management/">Learn more about this LTS Update</a>
<a href="ibexa_products/editions/#lts-updates">Discover other LTS Updates</a>
</div>
<div class="notification__image">
Expand Down
2 changes: 1 addition & 1 deletion docs/multisite/languages/languages.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ However, even if work on a draft takes time and other translations are updated i
### Adding available languages

The multilanguage system operates based on a global translation list that contains all languages available in the installation.
Languages can be [added to this list from the **Admin** panel]([[= user_doc =]]/content_management/translate_content/) in the back office.
Languages can be [added to this list from the **Admin** panel]([[= user_doc =]]/translations/translate_content/) in the back office.
After adding a language be sure to dump all assets to the file system:

```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/product_guides/product_guides.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Discover the primary ones with the help of product guides. Condensed content all
[[= cards([
"users/user_management_guide",
"content_management/content_management_guide",
"multisite/translations_management/translations_management_guide",
"translations_management/translations_management_guide",
"discounts/discounts_guide",
"content_management/rich_text/online_editor_guide",
"content_management/pages/page_builder_guide",
Expand Down
24 changes: 24 additions & 0 deletions docs/translations_management/configure_translations_hub.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
description: Set up background processing of bulk translation jobs, configure Translations Hub, and maintain it with console commands.
month_change: true
---

# Configure Translations Hub

Check notice on line 6 in docs/translations_management/configure_translations_hub.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/configure_translations_hub.md#L6 <Ibexa.SentenceCapitalizationInHeadings>

Use sentence-style capitalization in headings
Raw output
{"message":"Use sentence-style capitalization in headings","location":{"path":"docs/translations_management/configure_translations_hub.md","range":{"start":{"line":6,"column":3},"end":{"line":6,"column":29}}},"severity":"INFO","code":{"value":"Ibexa.SentenceCapitalizationInHeadings"}}

<***>Intro: what Translations Hub needs beyond the translations management setup. Link to [Configure translations management](configure_translations_management.md) and to the user documentation of Translations Hub.</***>

## Process bulk translation jobs in the background

Check notice on line 10 in docs/translations_management/configure_translations_hub.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/configure_translations_hub.md#L10 <Ibexa.ArticlesInHeadings>

Avoid articles in headings.
Raw output
{"message":"Avoid articles in headings.","location":{"path":"docs/translations_management/configure_translations_hub.md","range":{"start":{"line":10,"column":37},"end":{"line":10,"column":40}}},"severity":"INFO","code":{"value":"Ibexa.ArticlesInHeadings"}}

<***>Bulk translation jobs and some follow-up tasks (job removal, draft removal, modification measurement) run as messages on `ibexa.messenger.bus`. Explain that a worker must run, link to the background tasks documentation, and state what happens if it doesn't run. Verify in code: `src/bundle/Resources/config/services/bulk_translations/messenger.php`.</***>

## Configure pagination

<***>SiteAccess-aware settings under `translations_management.bulk_translations.pagination`: `<tab>_limit` and `<tab>_allowed_limits` for the Missing, Outdated, For review, Translated, History, and job items lists. Example YAML with default values from `default_settings.yaml`.</***>

## Permissions

<***>Which policies bulk translation checks (for example `content/edit` with the Language limitation, `content/versionremove`), who can retry or delete a job, who can change review statuses. Verify every claim in code.</***>

## Maintenance commands

<***>`ibexa:translations:purge-translation-attempts`, `ibexa:translations:reset-pending-job-removals`, `ibexa:translations:reset-pending-draft-removals`: what each does, when to run it, options.</***>
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,17 @@

Language pair definitions decide which provider handles each source-to-target language combination by default.
For example, you can decide that English to French translations should use DeepL.
When an editor [opens the translation modal]([[= user_doc =]]/content_management/translate_content/#add-translations) and selects a matching language combination, the provider that you chose is pre-selected in the dropdown.
When an editor [opens the translation modal]([[= user_doc =]]/translations/translate_content/#add-translations) and selects a matching language combination, the provider that you chose is pre-selected in the dropdown.

Check warning on line 208 in docs/translations_management/configure_translations_management.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/configure_translations_management.md#L208 <Ibexa.Wordy>

Use 'drop-down' instead of 'dropdown'.
Raw output
{"message":"Use 'drop-down' instead of 'dropdown'.","location":{"path":"docs/translations_management/configure_translations_management.md","range":{"start":{"line":208,"column":209},"end":{"line":208,"column":217}}},"severity":"WARNING","code":{"value":"Ibexa.Wordy"}}
The editor can override the pre-selection.

The list of languages available when creating a language pair is determined by what each provider supports.
You can only select the languages that are present in a provider's [supported list](#advanced-translation-provider-options) for that provider's pairs.

You [manage language pairs in the back office]([[= user_doc =]]/content_management/translate_content/#manage-translation-services-and-language-pairs).
You [manage language pairs in the back office]([[= user_doc =]]/translations/translate_content/#manage-translation-services-and-language-pairs).

## Side-by-side translation view

The [side-by-side translation view]([[= user_doc =]]/content_management/translate_content/#side-by-side-translation-view) is a two-column content editing interface where the source column is read-only and the target column is an editable form.
The [side-by-side translation view]([[= user_doc =]]/translations/translate_content/#side-by-side-translation-view) is a two-column content editing interface where the source column is read-only and the target column is an editable form.

Content types that contain the `ibexa_landing_page` or `ibexa_form` fields can't be opened in the side-by-side translation view.
Editors can open them in the standard single-language editor.
Expand All @@ -227,7 +227,7 @@

Fields marked with [`meta: true`](content_tab_switcher.md#add-meta-tab) and fields that belong to groups listed in [`admin_ui_forms.content_edit.meta_field_groups_list`](content_tab_switcher.md#configure-field-groups-for-meta-tab) aren't rendered in the side-by-side translation view.

For a description of the side-by-side view and its functions from the editor's perspective, see [User Documentation]([[= user_doc =]]/content_management/translate_content/#side-by-side-translation-view).
For a description of the side-by-side view and its functions from the editor's perspective, see [User Documentation]([[= user_doc =]]/translations/translate_content/#side-by-side-translation-view).

### User settings

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ php bin/console ibexa:translations:auto-translate-content \
You can use `ibexa:translations:translate-content` as an alias.

The command uses the same provider configuration and field value transformers as the UI.
Therefore, depending on the specific command options used, the result can be the same as if an editor [triggered the automated translation manually]([[= user_doc =]]/content_management/translate_content/#add-translations).
Therefore, depending on the specific command options used, the result can be the same as if an editor [triggered the automated translation manually]([[= user_doc =]]/translations/translate_content/#add-translations).

Without the `--draft-only` option, the translation generated with a CLI command is instantly published, while a manual one requires that a human publishes it.

Expand Down
25 changes: 25 additions & 0 deletions docs/translations_management/translations_hub_api.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
description: Use the PHP API to find content that needs translation, run bulk translation jobs, and read translation analytics.
page_type: reference
month_change: true
---

# Translations Hub API

Check notice on line 7 in docs/translations_management/translations_hub_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_hub_api.md#L7 <Ibexa.SentenceCapitalizationInHeadings>

Use sentence-style capitalization in headings
Raw output
{"message":"Use sentence-style capitalization in headings","location":{"path":"docs/translations_management/translations_hub_api.md","range":{"start":{"line":7,"column":3},"end":{"line":7,"column":23}}},"severity":"INFO","code":{"value":"Ibexa.SentenceCapitalizationInHeadings"}}

<***>Intro: which PHP API services Translations Hub provides. Only classes from `Ibexa\Contracts\TranslationsManagement` that aren't marked `@internal`.</***>

## Bulk translation jobs

<***>`JobServiceInterface`: create, start, retry, cancel, and remove jobs, list job items. Code sample in `code_samples/translations_hub/`.</***>

## Content discovery

<***>`ContentDiscoveryServiceInterface` and `ContentDiscoveryQuery`: find content with missing or outdated translations.</***>

## Analytics

<***>`TranslationCoverageProviderInterface`, `TranslationBacklogProviderInterface`, `TranslationStaleOwnersProviderInterface`: what each returns. Check whether they're meant to be used or extended by projects.</***>

Check notice on line 21 in docs/translations_management/translations_hub_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_hub_api.md#L21 <Ibexa.Passive>

Try to avoid passive tense, when possible.
Raw output
{"message":"Try to avoid passive tense, when possible.","location":{"path":"docs/translations_management/translations_hub_api.md","range":{"start":{"line":21,"column":178},"end":{"line":21,"column":185}}},"severity":"INFO","code":{"value":"Ibexa.Passive"}}

## REST API

<***>Endpoints under `/api/ibexa/v3/translations-hub/`. Wait until the IBX-12999 PRs (REST v3 profile) are merged, then link to the REST API reference.</***>

Check notice on line 25 in docs/translations_management/translations_hub_api.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_hub_api.md#L25 <Ibexa.Passive>

Try to avoid passive tense, when possible.
Raw output
{"message":"Try to avoid passive tense, when possible.","location":{"path":"docs/translations_management/translations_hub_api.md","range":{"start":{"line":25,"column":104},"end":{"line":25,"column":114}}},"severity":"INFO","code":{"value":"Ibexa.Passive"}}
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ month_change: true
Translations management helps [[= product_name =]] developers and editors deliver automated content item and product translations.

[[= cards([
"multisite/translations_management/translations_management_guide",
"multisite/translations_management/configure_translations_management",
"multisite/translations_management/translate_with_cli",
"multisite/translations_management/extend_translations_management",
"translations_management/translations_management_guide",
"translations_management/configure_translations_management",
"translations_management/configure_translations_hub",
"translations_management/translations_hub_api",
"translations_management/translate_with_cli",
"translations_management/extend_translations_management",
"api/event_reference/translations_management_events",
("api/php_api/php_api_reference/namespaces/ibexa-contracts-translationsmanagement.html", "PHP API Reference", "<code>Ibexa\\Contracts\\TranslationsManagement</code>"),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@

![Translations management flow for content item translation](translations_management_flow.png "Translations management flow for content item translation")

<***>Translations Hub: how bulk translation jobs work (find missing or outdated translations, set up a job with source and target language and a provider pre-selected from language pairs, background processing, review statuses, retry and delete, notifications, brand context) and how analytics measures coverage, review backlog, jobs, and provider quality. Sources: Confluence "Bulk content translations" (IBX-11509) and "Translations Hub" (IBX-11539), Notion roadmap pages, ibexa/translations-management 6.0. Consider a diagram.</***>

Check notice on line 40 in docs/translations_management/translations_management_guide.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_management_guide.md#L40 <Ibexa.SentenceLength>

Keep your sentences to less than 30 words.
Raw output
{"message":"Keep your sentences to less than 30 words.","location":{"path":"docs/translations_management/translations_management_guide.md","range":{"start":{"line":40,"column":6},"end":{"line":40,"column":18}}},"severity":"INFO","code":{"value":"Ibexa.SentenceLength"}}

Check warning on line 40 in docs/translations_management/translations_management_guide.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_management_guide.md#L40 <Ibexa.OxfordComma>

Use a comma before the last 'and' or 'or' in a list of four or more items.
Raw output
{"message":"Use a comma before the last 'and' or 'or' in a list of four or more items.","location":{"path":"docs/translations_management/translations_management_guide.md","range":{"start":{"line":40,"column":56},"end":{"line":40,"column":239}}},"severity":"WARNING","code":{"value":"Ibexa.OxfordComma"}}

## Capabilities

### Translation provider management
Expand All @@ -51,7 +53,7 @@

### Side-by-side translation view

Translations management introduces a [side-by-side translation view]([[= user_doc =]]/content_management/translate_content/#side-by-side-translation-view) that displays the read-only source language content next to an editable target language form.
Translations management introduces a [side-by-side translation view]([[= user_doc =]]/translations/translate_content/#side-by-side-translation-view) that displays the read-only source language content next to an editable target language form.
In this view, editors can provide and review translations in context, without having to leave the content editing interface.

![Side-by-side translation view](managing_translations_sxs_view.png "Side-by-side translation view")
Expand Down Expand Up @@ -80,7 +82,7 @@

When a draft translation of a content item or product is created by going through the automatic translation process in the back office, the system creates a review status record and marks the draft as "For review".
The console command bypasses this and drafts created with command-line translation aren't assigned a review status.
Editors can [accept or reject the translation]([[= user_doc =]]/content_management/translate_content/#review-automatic-translation) directly in the side-by-side view.
Editors can [accept or reject the translation]([[= user_doc =]]/translations/translate_content/#review-automatic-translation) directly in the side-by-side view.
Accepted drafts are marked as "Translated".

When the editor rejects the translation, the status doesn't change, but the system records that the draft translation required corrections for statistical purposes.
Expand All @@ -93,6 +95,18 @@

Draft translations that were created by a human don't have a review status.

### Translations Hub

Check notice on line 98 in docs/translations_management/translations_management_guide.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_management_guide.md#L98 <Ibexa.SentenceCapitalizationInHeadings>

Use sentence-style capitalization in headings
Raw output
{"message":"Use sentence-style capitalization in headings","location":{"path":"docs/translations_management/translations_management_guide.md","range":{"start":{"line":98,"column":5},"end":{"line":98,"column":21}}},"severity":"INFO","code":{"value":"Ibexa.SentenceCapitalizationInHeadings"}}

<***>Introduce Translations Hub as one place to monitor and manage translations, with two parts: bulk translations and analytics.</***>

### Bulk translations

<***>Capabilities of bulk translation: the Missing, Outdated, For review, Translated, and History tabs, job setup, review in the side-by-side view, retry and delete, notifications, brand context.</***>

Check warning on line 104 in docs/translations_management/translations_management_guide.md

View workflow job for this annotation

GitHub Actions / vale

[vale] docs/translations_management/translations_management_guide.md#L104 <Ibexa.OxfordComma>

Use a comma before the last 'and' or 'or' in a list of four or more items.
Raw output
{"message":"Use a comma before the last 'and' or 'or' in a list of four or more items.","location":{"path":"docs/translations_management/translations_management_guide.md","range":{"start":{"line":104,"column":39},"end":{"line":104,"column":159}}},"severity":"WARNING","code":{"value":"Ibexa.OxfordComma"}}

### Translation analytics

<***>Capabilities of analytics: coverage per language, outdated translations, items waiting for review, latest jobs, provider statistics (failure rate, modification rate), filters, dashboard widgets. Document only metrics that exist in the code.</***>

### Extensibility

Developers can [extend the translations management](extend_translations_management.md) package:
Expand Down Expand Up @@ -122,6 +136,8 @@
Regardless of technical and conceptual differences, the experience of working with various translation providers is the same.
Administrators can assign providers to specific language pairs and editors can override the assignment when needed.

<***>Benefits of Translations Hub, based on the specifications: translating large volumes of content, visibility into translation progress and gaps, data to compare translation providers. Write as a technical expert, not a salesperson.</***>

### Readiness for automated processing

The CLI command enables integration with automated processes, which can help you reduce manual effort for large content volumes.
14 changes: 8 additions & 6 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,12 +484,14 @@ nav:
- Languages: multisite/languages/languages.md
- Language API: multisite/languages/language_api.md
- Back office translations: multisite/languages/back_office_translations.md
- Translations management:
- Translations management: multisite/translations_management/translations_management.md
- Translations management guide: multisite/translations_management/translations_management_guide.md
- Configure translations management: multisite/translations_management/configure_translations_management.md
- Translate content items with CLI: multisite/translations_management/translate_with_cli.md
- Extend translations management: multisite/translations_management/extend_translations_management.md
- Translations management:
- Translations management: translations_management/translations_management.md
- Translations management guide: translations_management/translations_management_guide.md
- Configure translations management: translations_management/configure_translations_management.md
- Configure Translations Hub: translations_management/configure_translations_hub.md
- Translations Hub API: translations_management/translations_hub_api.md
- Translate content items with CLI: translations_management/translate_with_cli.md
- Extend translations management: translations_management/extend_translations_management.md
- Permissions:
- Permissions: permissions/permissions.md
- Permission overview: permissions/permission_overview.md
Expand Down
7 changes: 6 additions & 1 deletion plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -624,7 +624,12 @@ plugins:
'cdp/cdp_activation/cdp_configuration.md': 'raptor_cdp/raptor_cdp_activation/raptor_cdp_configuration.md'
'cdp/cdp_activation/cdp_data_export.md': 'raptor_cdp/raptor_cdp_activation/raptor_cdp_data_export.md'
'cdp/cdp_activation/cdp_add_tracking.md': 'raptor_cdp/raptor_cdp_activation/raptor_cdp_add_tracking.md'
'multisite/languages/automated_translations.md': 'multisite/translations_management/configure_translations_management.md'
'multisite/languages/automated_translations.md': 'translations_management/configure_translations_management.md'
'multisite/translations_management/translations_management.md': 'translations_management/translations_management.md'
'multisite/translations_management/translations_management_guide.md': 'translations_management/translations_management_guide.md'
'multisite/translations_management/configure_translations_management.md': 'translations_management/configure_translations_management.md'
'multisite/translations_management/translate_with_cli.md': 'translations_management/translate_with_cli.md'
'multisite/translations_management/extend_translations_management.md': 'translations_management/extend_translations_management.md'


- llmstxt:
Expand Down
Loading