You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/multisite/languages/automated_translations.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Before you can start using the feature you must configure access to your Google
51
51
52
52
1\. Get the [Google API key](https://developers.google.com/maps/documentation/javascript/get-api-key) and/or [DeepL Pro key](https://support.deepl.com/hc/en-us/articles/360020695820-API-Key-for-DeepL-s-API).
53
53
54
-
3\. Set these values in the YAML configuration files, under the `ibexa_automated_translation.system.default.configurations` key:
54
+
2\. Set these values in the YAML configuration files, under the `ibexa_automated_translation.system.default.configurations` key:
55
55
56
56
```yaml
57
57
ibexa_automated_translation:
@@ -94,7 +94,7 @@ The following example adds a new translation service.
94
94
It uses the [AI actions framework](ai_actions_md) and assumes a custom `TranslateAction` AI Action exists.
95
95
To learn how to build custom AI actions see [Extending AI actions](extend_ai_actions.md#custom-action-type-use-case).
96
96
97
-
1. Create a service that implements the [`\Ibexa\AutomatedTranslation\Client\ClientInterface`](REFERENCE LINK) interface
97
+
1. Create a service that implements the [`\Ibexa\AutomatedTranslation\Client\ClientInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-AutomatedTranslation-Client-ClientInterface.html) interface
@@ -126,7 +126,7 @@ The following example adds support for automatically translating alternative tex
126
126
127
127
1. Create a class implementing the [`FieldEncoderInterface`](../../api/php_api/php_api_reference/classes/Ibexa-Contracts-AutomatedTranslation-Encoder-Field-FieldEncoderInterface.html) and add the required methods:
@@ -136,7 +136,7 @@ In this example, the methods are responsible for:
136
136
- `encode`- extracting the alternative text from the field type.
137
137
- `decode`- saving the translated alternative text in the field type's value object.
138
138
139
-
2\. Register it as a service. If you're not using [Symfony's autoconfiguration]([[= symfony_doc =]]/service_container.html#the-autoconfigure-option), use the `ibexa.automated_translation.field_encoder` service tag.
139
+
2\. Register it as a service. If you're not using [Symfony's autoconfiguration]([[= symfony_doc =]]/service_container.html#the-autoconfigure-option), use the `ibexa.automated_translation.field_encoder` service tag.
0 commit comments