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
{{ message }}
Repository navigation
Commit c264620
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: documentation/docs/localizer/translation-workspace.md
+17-1Lines changed: 17 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -167,7 +167,7 @@ In the lower-right side of the editing space, it’s possible to `COPY` the sour
167
167
168
168
In the lower-left side:
169
169
170
-
* Clicking the gear icon allows users to toggle `Translation Toolkit checks` and `Make suggestions`, select their editor theme, and navigate to the user settings. Note that access to some settings is restricted by [user permissions](users.md#user-roles).
170
+
* Clicking the gear icon allows users to toggle `Translation Toolkit checks`, `Make suggestions` and [`Autocomplete from Machinery`](#autocomplete-from-machinery), select their editor theme, and navigate to the user settings. Note that access to some settings is restricted by [user permissions](users.md#user-roles).
171
171
* Clicking the keyboard icon displays a list of available shortcuts.
172
172
* The numbers displayed to the right of the keyboard icon (e.g. `50|59`) are the number of characters in the target and source string.
173
173
@@ -284,6 +284,8 @@ Machinery shows possible translations from a variety of sources. These sources i
*[Bing Translator](https://www.bing.com/translator) (not currently enabled on pontoon.mozilla.org).
286
286
287
+
Machinery suggestions can be used to [complete translations as you type](#autocomplete-from-machinery) in the editor.
288
+
287
289
In addition, the user has the ability to search for translations containing words via [`Concordance search`](#concordance-search).
288
290
289
291
In the tab, the number of entries is visible alongside the `MACHINERY` title in white. If any of the machinery matches are from translation memory, the number of matches will appear separately in green. For example, the screenshot below shows `2+1`, where the green `2` represents the two matches from translation memory and the `1` represents a machinery entry from Google Translate.
@@ -298,6 +300,20 @@ The origin of the machinery entry is listed in gray above the source string. Cli
298
300
299
301
Be careful when using the machinery tab as suggestions may not match the source string for the project being translated. Even if the source strings match, the context in which strings are used may not be the same. This could lead to incorrect or unnatural translations. Always keep the meaning and purpose of the string being translated in mind when using the machinery tab.
300
302
303
+
#### Autocomplete from Machinery
304
+
305
+
When `Autocomplete from Machinery` is enabled in the [Editor's gear icon](#editor) (or in the [settings page](users.md#editor)), the editor offers to complete what you type using the Machinery suggestions for the current string: translation memory, machine translation, and automatic LLM suggestions.
306
+
307
+
As you type, the end of the text before the cursor is compared with each suggestion, and the suggestion with the longest match is used. Depending on how long the matching part is, the editor shows in gray after the cursor:
308
+
309
+
* Nothing, if the match is short.
310
+
* The rest of the word being typed, if the match is longer.
311
+
* The next word, if the match is long and the word being typed is already complete.
312
+
313
+
Press `Tab` to accept the gray text, or `Esc` to hide it. Once accepted, the following word is offered, so pressing `Tab` repeatedly follows a suggestion word by word, and typing something else at any point simply continues with your own translation. Placeholders and tags are always completed as a whole.
314
+
315
+
While the list of placeholder completions is open, `Tab` selects from that list instead. Nothing is offered during a Concordance search, since its results are not translations of the current string.
316
+
301
317
#### Large language model (LLM) integration
302
318
303
319
Pontoon will show a dropdown labeled `AI` for all locales that have Google Translate available as a translation source. This feature refines the Google Translate output using an LLM. Opening this dropdown will reveal three options:
Copy file name to clipboardExpand all lines: documentation/docs/localizer/users.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,8 @@ To change a theme, select the button corresponding to your preferred option. The
86
86
87
87
`Make suggestions` allows a translator or a team manager to submit suggestions instead of translations. This setting is also displayed to users with translator permissions.
88
88
89
+
`Autocomplete from Machinery` completes words in the editor as the user types, using the Machinery suggestions for the current string. It is disabled by default. For more information, see [this document](translation-workspace.md#autocomplete-from-machinery).
90
+
89
91
### Default search options
90
92
91
93
Users can configure default search options to use when searching for strings in the translation workspace or the [Translation Search page](search.md). The following options can be enabled by default:
0 commit comments