From 089d94e6dbe757fb8309ec6c2179a71dbae79c34 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 9 May 2012 19:27:06 +0200 Subject: =?UTF-8?q?Add=20help=20for=20the=20translate=20plugin,=20but=20hi?= =?UTF-8?q?de=20it=20for=20now=20(since=20the=20plugin=20doesn=E2=80=99t?= =?UTF-8?q?=20work)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/en/plugins/.translate.txt | 51 +++++++++++++++++++++++++++++++++++++++++++ doc/en/plugins/index.txt | 5 ----- 2 files changed, 51 insertions(+), 5 deletions(-) create mode 100644 doc/en/plugins/.translate.txt (limited to 'doc/en/plugins') 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. -- cgit v1.2.3