Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigpresh/bot-basicbot-pluggable-module-translatebot
Automatic language translation for Bot::BasicBot::Pluggable IRC bots, using Google Translate
https://github.com/bigpresh/bot-basicbot-pluggable-module-translatebot
Last synced: about 1 month ago
JSON representation
Automatic language translation for Bot::BasicBot::Pluggable IRC bots, using Google Translate
- Host: GitHub
- URL: https://github.com/bigpresh/bot-basicbot-pluggable-module-translatebot
- Owner: bigpresh
- Created: 2011-10-17T21:51:30.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-10-17T23:04:39.000Z (about 13 years ago)
- Last Synced: 2024-10-13T11:33:00.833Z (2 months ago)
- Language: Perl
- Homepage:
- Size: 109 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Bot::BasicBot::Pluggable::Module::TranslateBot - automatic translations
on IRC using Google TranslateDESCRIPTION
A module for Bot::BasicBot::Pluggable-powered IRC bots to provide
automated translations on IRC.Allows one-off translations of text, and, usefully, can also be told to
automatically translate everything a user says into a specified language
until told otherwise, making it easier to have a conversation with
another user when there's no common language (subject, of course, to the
vaguaries of Google Translate's automatic translations; it will work
best if you use more formal language and avoid colloquialisms).USAGE
Load the module as you would any other Bot::BasicBot::Pluggable module,
then, on IRC, use the following commands:Quick one-off translations
You can translate directly with:translate from to
For example:
< bigpresh> translate This is a test of the bot from en to es
< translatebot> Esta es una prueba de que el robotYou can also instruct the bot to automatically translate everything a
given user says until you tell it to stop - to start automatic
translations, say:start translating for from to
(`nick' can be your nick or the nick of another user in the channel, or
`me' to mean your own nick)For example:
< bigpresh> start translating for me from en to es
< translatebot> +OK, I'll translate everything bigpresh says
until you say 'stop translating for me'
< bigpresh> This is another test.
< translatebot> bigpresh said: 'Esta es otra prueba.'To stop automatic translations for yourself or another user:
stop translating for
To stop all automatic translations:
stop translating
In the examples above, ` can be any one of the language codes
supported by Google Translate; the bot will determine this at runtime
(via Lingua::Translate::Google). The list will be included in the help
message presented by the bot (`/msg' the bot with `help translatebot').AUTHOR
David Precious `