/q (get translations)
This API handler returns a list of translations that match your search criteria. The request handler expects the following parameters:
- sl : source language (ISO language code), required
- tl : target language (ISO language code), required
- st : source text (Unicode, UTF-8 encoding), either st or md5hash must be present
- md5hash : MD5 hashkey generated from source text (more efficient when retrieving archived translations for large texts, except auto-fallback to machine translation will not work
- allow_anonymous : (y/n) include anonymous translations (enabled by default)
- allow_machine : (y/n) include machine translations (enabled by default)
- allow_unscored : (y/n) include unscored human translations (enabled by default)
- minimum_score : minimum score (0 to 5 scale)
- fuzzy : (y/n), if yes searches for the word or phrase within translations (e.g. fuzzy=y and st=hello world will find any translations whose source text contains the phrase 'hello world'), currently limited to searching for short phrases of 1 to 4 words within larger texts.
- lsp : language service provider (for on demand professional translation)
- lspusername : LSP username lsppw : LSP password
- mtengine : optional machine translation engine to call out to for machine translations if no human translations are available (options are: google, apertium, moses, with more coming soon)
- ttl : cache time to live (for professional translations, in seconds
- output : output format (xml, rss, json, po, xliff)
The request handler returns the recordset in the desired format (xml if not specified)