summaryrefslogtreecommitdiff
path: root/doc/en/plugins/.translate.txt
blob: cb605699f2288c202a56a9b4db1fad2fb82af0be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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

============================