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: Käännä
- License: GPL-2.0-or-later
Query suggestions from translation memories.
Parameters:
- service
Which of the available translation services to use.
- One of the following values:
- sourcelanguage
Lähdetekstin kielikoodi.
- This parameter is required.
- targetlanguage
Ehdotuksen kielikoodi.
- 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]