summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/en/plugins/.translate.txt51
-rw-r--r--doc/en/plugins/index.txt5
2 files changed, 51 insertions, 5 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
+
+============================
diff --git a/doc/en/plugins/index.txt b/doc/en/plugins/index.txt
index 92558c30..747411ca 100644
--- a/doc/en/plugins/index.txt
+++ b/doc/en/plugins/index.txt
@@ -134,11 +134,6 @@ Plugins index
Tells a message to a nick when he connects to a MUC.
-*Translate*:: Translation plugin
-
- Translates everything that is said in the poezio room into english (useful
- for non-french speakers). Can of course be tweaked to apply to other rooms.
-
*Uptime*:: link:uptime.html[Uptime plugin]
Gets the uptime of a XMPP server or a component.