MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/Special:MyLanguage/API:Main_page
action=ttmserver
(main | ttmserver)
- This module requires read rights.
- Source: Translate
- License: GPL-2.0-or-later
Query suggestions from translation memories.
Specific parameters:
Other general parameters are available.
- service
Which of the available translation services to use.
- One of the following values: TTMServer
- Default: TTMServer
- sourcelanguage
The language code of the source text.
- This parameter is required.
- targetlanguage
The language code of the suggestion.
- This parameter is required.
- text
The text to find suggestions for.
- This parameter is required.
Example:
- Get suggestions for translating "Help" from English to Finnish
- api.php?action=ttmserver&sourcelanguage=en&targetlanguage=fi&text=Help [open in sandbox]