MediaWiki API help
This is an auto-generated MediaWiki API documentation page.
Documentation and examples: https://www.mediawiki.org/wiki/API
action=ttmserver
(main | ttmserver)
- This module requires read rights.
- Source: Translate
- License: GPL-2.0+
Query suggestions from translation memories.
Parameters:
- service
Which of the available translation services to use.
- One of the following values:
- 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]