poezio/doc/en/plugins/.translate.txt

52 lines
991 B
Text
Raw Normal View History

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
============================