|
|
New feature: Translations
|
|
|
Posted by soczol at 2009-07-01 17:40:22
Hello Everyone,
Just a quick note to say that we've added Google Translate functionality to our bots allowing you to translate text to another language.
We have not yet updated the documentation on this feature, so I'll try to explain how to use it, although we don't expect it to be that hard to understand. To translate text you need to use the !translate command. This command is available if chanset +infobot is active.
The full 'syntax' for this command is: !translate [-from <lang>] [-to <lang>] <text>.
If you specify a language through the -from or -to switches then you can write the language code (e.g. nl, en, hu) or the actual name of the language (e.g. Dutch, English, Hungarian). If you do not specify a 'from' language then our bots will try to automatically detect the language the text is written in. If you do not specify a 'to' language then our bots will translate the text to English.
So to translate the dutch text "hallo wereld" to English, you only have to write:
!translate hallo wereld
And the bot will then reply with:
Translation from Dutch (autodetected) to English: hello world
Note that this is basically the same command as:
!translate -from dutch -to english hallo wereld
And the same command as:
!translate -from nl hallo wereld
That's about it. If you have any problems or think you've found a bug don't hesitate to contact us in #NordicBots
Thanks!
< Back to latest news |
|
|
|
|
|
#1 | 2009-07-01 18:58 | segumisama (NordicBots Staff) | Yaay. Now I can make your brains hurt with google translated paragraphs!!! :D (well, easier than before. I'm american, you actually expect me to go to the website just to translate to dutch? D:)
Thanks guys<3~ |
| #2 | 2009-07-01 21:24 | anton (NordicBots Staff) | Another great feature from the dev-team. Totally awesome.
Keep it up! |
| #3 | 2009-07-04 01:19 | ville_ | yeeaah nice job guys o/
dev-team rules this world, but watch out for meanie NH and NB, they might wan't your status in this world :> |
< Back to latest news |
|
|
|
|
|
You need to login to add a comment. |
|
|
|
|
|