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 b0bca7d
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: documentation/docs/localizer/translation-workspace.md
+21-1Lines changed: 21 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` and `Make suggestions`, choose how to [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,24 @@ 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
+
As you type a translation, the editor can complete it from the current string's Machinery suggestions (translation memory, machine translation, and LLM suggestions). The completion appears in gray after the cursor. Press `Tab` to accept it or `Esc` to hide it.
306
+
307
+
Set how much is offered with the `AUTOCOMPLETE` option in the [Editor's gear icon](#editor) or the [settings page](users.md#editor):
308
+
309
+
*`Off`: no completions.
310
+
*`Word` (default): one word at a time.
311
+
*`Full`: the rest of the suggestion.
312
+
313
+
The editor uses the suggestion that best matches what you've typed so far. Nothing is offered until the match is long enough.
314
+
315
+
With `Word`, each `Tab` accepts the next word, along with its punctuation and trailing space. Placeholders and tags are completed as a whole. In languages without spaces, `Tab` accepts one word at a time.
316
+
317
+
With `Full`, the whole remainder is offered only when the cursor is at the end of the translation. Elsewhere, completion goes word by word so the text after the cursor isn't duplicated.
318
+
319
+
Autocomplete steps aside in two cases. While the placeholder list is open, `Tab` picks from that list. During a Concordance search, no completions are offered.
320
+
301
321
#### Large language model (LLM) integration
302
322
303
323
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` sets how the editor completes translations as the user types, using the Machinery suggestions for the current string: `Off`, `Word by word` (the default), or `Full continuation`. 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