googletranslate

googletranslate

Translates posts or any text using Google's API

Usage

/translate <from> <to> <text>
/translate <from> <to> <clock>

<from> and <to> are language codes (see list at the bottom) separated by whitespace.

The third argument is either plain text to translate, or a clock reference to another post.

For example:
12:26:39 <SeeSchloß> /translate en fr Hello world!
12:26:40 <Translator> 12:26:39 Bonjour le monde!

12:38:12 <SeeSchloß> 12:37:46 all the languages supported by Google translation
12:38:53 <SeeSchloß> /translate en zh-TW 12:38:12
12:38:54 <Translator> 12:38:53 12點37分46秒的所有語言支持谷歌翻譯

de (German)
en (English)
ar (Arabic)
bg (Bulgarian)
ca (Catalan)
zh-CN (Chinese (simplified))
zh-TW (Chinese (traditional))
ko (Korean)
hr (Croatian)
da (Danish)
es (Spanish)
fi (Finnish)
fr (French)
el (Greek)
iw (Hebrew)
hi (Hindi)
id (Indonesian)
it (Italian)
ja (Japanese)
lv (Latvian)
lt (Lituanian)
nl (Dutch)
no (Norvegian)
pl (Polish)
pt (Portugese)
ro (Romanian)
ru (Russian)
sr (Serbian)
sk (Slovak)
sl (Slovenian)
sv (Swedish)
tl (Filipino)
cs (Czesh)
uk (Ukrainian)
vi (Vietnamese)

Download

Download this filter: googletranslate.tar.gz
To install or update this filter, simply extract this archive in the directory of your tribune module.
Unless specified otherwise, filters are released under the GPLv2 license.