diff options
Diffstat (limited to 'doc/en/plugins/.translate.txt')
-rw-r--r-- | doc/en/plugins/.translate.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/en/plugins/.translate.txt b/doc/en/plugins/.translate.txt new file mode 100644 index 00000000..cb605699 --- /dev/null +++ b/doc/en/plugins/.translate.txt @@ -0,0 +1,51 @@ +Translate +========= + +This plugin translates what is said in the groupchats using google translate. + +Installation +------------ +You only have to load the plugin. + +================ + + /load translate + +================ + +Configuration +------------- + +You can set the rooms you want to be translated in the configuration file, +with their associated language. If no language is specified, the _default_ +option is used, and if no option is set, _en_ is used as a target language. + +.No default set +===================== +[source,conf] +------------ +[translate] +poezio@muc.poezio.eu = en +------------ +===================== + +.Default set +===================== +[source,conf] +------------- +[translate] +default = fr +prosody@conference.prosody.im = +jabberfr@chat.jabberfr.org = en +------------- +===================== + +You can of course also set the options with _/set_: + +============================ + + /set translate| default jp + + /set translate|translate poezio@muc.poezio.eu en + +============================ |