Dear Wiki user, You have subscribed to a wiki page or wiki category on "Tika Wiki" for change notification.
The "TikaJAXRS" page has been changed by ChrisMattmann: https://wiki.apache.org/tika/TikaJAXRS?action=diff&rev1=36&rev2=37 Comment: - add docs for auto-detect src lang $ curl -X PUT --data-binary @sentences http://localhost:9998/translate/all/org.apache.tika.language.translate.GoogleTranslator/es/en I need practice in Spanish }}} + + {{{ + /translate/all/src/dest + }}} + HTTP PUTs or POSTs a document to the identified *translator* and auto-detects the *src* language using LanguageIdentifiers, and then translates *src* to *dest* + + Default return is the translated string if successful, else the original string back. + + Note that: + * *translator* should be a fully qualified Tika class name (with package) e.g., org.apache.tika.language.translate.Lingo24Translator + * *dest* should be the 2 character short code for the dest language, e.g., 'es' for Spanish. == PUT a TXT file named sentences2 with French comme çi comme ça and get back the English translation using Google auto-detecting the language == {{{
