Scroll to navigation

TRANSLABOOB(1) General Commands Manual TRANSLABOOB(1)

NAME

translaboob - Console application to translate text from one language to another

SYNOPSIS

translaboob [-dqv] [-b backends] [-cnfs] [command [arguments..]]
 
translaboob [--help] [--version]
 

DESCRIPTION

 
Console application to translate text from one language to another
 

Supported websites:

* googletranslate (Google translation web service)
 
* wordreference (Free online translator)

TRANSLABOOB COMMANDS

translate FROM TO [TEXT]
 
Translate from one language to another.
 
* FROM : source language
 
* TO : destination language
 
* TEXT : language to translate, standard input if - is given
 
 
 
Language Abbreviation
 
----------------------
 
Arabic ar Esperanto eo Irish ga Russian ru
 
Afrikaans af Estonian et Italian it Serbian sr
 
Albanian sq Filipino tl Japanese ja Slovak sk
 
Armenian hy Finnish fi Kannada kn Slovenian sl
 
Azerbaijani az French fr Korean ko Spanish es
 
Basque eu Galician gl Latin la Swahili sw
 
Belarusian be Georgian ka Latvian lv Swedish sv
 
Bengali bn German de Lithuanian lt Tamil ta
 
Bulgarian bg Greek gr Macedonian mk Telugu te
 
Catalan ca Gujarati gu Malay ms Thai th
 
Chinese zh Haitian ht Maltese mt Turkish tr
 
Croatian hr Hebrew iw Norwegian no Ukrainian uk
 
Czech cz Hindi hi Persian fa Urdu ur
 
Danish da Hungaric hu Polish pl Vietnamese vi
 
Dutch nl Icelandic is Portuguese pt Welsh cy
 
English en Indonesian id Romanian ro Yiddish yi
 
----------------------

WEBOOB COMMANDS

backends [ACTION] [BACKEND_NAME]...
 
Select used backends.
 
 
 
ACTION is one of the following (default: list):
 
* enable enable given backends
 
* disable disable given backends
 
* only enable given backends and disable the others
 
* list list backends
 
* add add a backend
 
* register register a new account on a website
 
* edit edit a backend
 
* remove remove a backend
 
* list-modules list modules
cd [PATH]
 
Follow a path.
 
".." is a special case and goes up one directory.
 
"" is a special case and goes home.
condition [EXPRESSION | off]
 
If an argument is given, set the condition expression used to filter the results.
 
If the "off" value is given, conditional filtering is disabled.
 
 
 
If no argument is given, print the current condition expression.
count [NUMBER | off]
 
If an argument is given, set the maximum number of results fetched.
 
NUMBER must be at least 1.
 
"off" value disables counting, and allows infinite searches.
 
 
 
If no argument is given, print the current count value.
formatter [list | FORMATTER [COMMAND] | option OPTION_NAME [on | off]]
 
If a FORMATTER is given, set the formatter to use.
 
You can add a COMMAND to apply the formatter change only to
 
a given command.
 
 
 
If the argument is "list", print the available formatters.
 
 
 
If the argument is "option", set the formatter options.
 
Valid options are: header, keys.
 
If on/off value is given, set the value of the option.
 
If not, print the current value for the option.
 
 
 
If no argument is given, print the current formatter.
inspect BACKEND_NAME
 
Display the HTML string of the current page of the specified backend's browser.
 
 
 
If webkit_mechanize_browser Python module is installed, HTML is displayed in a WebKit GUI.
logging [LEVEL]
 
Set logging level.
 
 
 
Availables: debug, info, warning, error.
 
* quiet is an alias for error
 
* default is an alias for warning
ls [PATH]
 
List objects in current path.
 
If an argument is given, list the specified path.
quit
 
Quit the application.
select [FIELD_NAME]... | "$direct" | "$full"
 
If an argument is given, set the selected fields.
 
$direct selects all fields loaded in one http request.
 
$full selects all fields using as much http requests as necessary.
 
 
 
If no argument is given, print the currently selected fields.
 

OPTIONS

--version
show program's version number and exit
-h, --help
show this help message and exit
-b BACKENDS, --backends=BACKENDS
what backend(s) to enable (comma separated)
 

LOGGING OPTIONS

-d, --debug
display debug messages
-q, --quiet
display only error messages
-v, --verbose
display info messages
--logging-file=LOGGING_FILE
file to save logs
-a, --save-responses
save every response
 

RESULTS OPTIONS

-c CONDITION, --condition=CONDITION
filter result items to display given a boolean expression
-n COUNT, --count=COUNT
get a maximum number of results (all backends merged)
-s SELECT, --select=SELECT
select result item keys to display (comma separated)
 

FORMATTING OPTIONS

-f FORMATTER, --formatter=FORMATTER
select output formatter (csv, htmltable, multiline, simple, table, translation, webkit, xmltrans)
--no-header
do not display header
--no-keys
do not display item keys
-O OUTFILE, --outfile=OUTFILE
file to export result
 

COPYRIGHT

Copyright(C) 2012 Lucien Loiseau
For full COPYRIGHT see COPYING file with weboob package.

FILES

"~/.config/weboob/backends"
 

SEE ALSO

Home page: http://weboob.org/applications/translaboob
04 May 2012 translaboob 0.c