Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

You are here: Big Brother Bot ForumAdd-OnsPlugins DiscussionPlugin Releases! (Moderator: MordyT)Translators plugin
Pages: 1 [2]   Go Down
  Print  
Author Topic: Translators plugin  (Read 3482 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoDUO, CoD5
Posts: 22
Offline Offline
WWW
« Reply #15 on: September 24, 2010, 07:37:58 AM »

Ok running with this idea a little.  I think it would be easy enough to allow the user to register a default language for him or herself. and then B3 could custom translate for that person.  I'd probably restrict this to regulars only.  don't want to over burden the bot.

Also, how would I change the code so that the output of !trans  go to everyone and not just me in a pm.

And one last thing.  This is a totally wicked plug in.  the guys on the server have ranted and raved about it.


I think it should be possible and not too hard using the functions provided by the CountryFilter plugin. It would be a good idea indeed, people would get the auto translation directly in their language instead of the default English one.
Logged

Jr. Member
**
OS: Windows
Type: Home user
Gameservers: CodUo
Posts: 44
Offline Offline
« Reply #16 on: October 17, 2010, 05:25:41 AM »

I think it should be possible and not too hard using the functions provided by the CountryFilter plugin. It would be a good idea indeed, people would get the auto translation directly in their language instead of the default English one.

Would it be an idea to extend this a bit more and let people decide whether they want the translation or not?
Using the CountryFilter plugin a !command like: !translate without argument would give them a translation in their own language, !translate Uk would give them the translation in English, !translate sw in swedish, ect. !translate off would turn it off.


Another question i have is: Would it be possible to give the autotranslate more than one source language?

On our server we play with alot of dutch people who all speak english very well. The plugin translates evrything, which sometimes gets annoying. But we also have a few people from Sweden, Finland and France who dont speak english. Would it be possible to make the autotranslator work with only those 3 languages translated to english?

Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: CoD4, CoD5, BFBC2
Posts: 26
Offline Offline
« Reply #17 on: April 03, 2011, 05:53:33 AM »

- special characters like accented letters or cyrillic are not displayed.
Sad bad
it would be nice if worked with Cyrillic
Logged
Full Member
***
OS: Windows
Type: Home user
Gameservers: UrT
Posts: 71
Offline Offline
« Reply #18 on: June 13, 2011, 07:04:56 AM »

trans en|pt hello



cant translate to portuguese. is this the right code? is there an official code list?
Logged
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #19 on: July 31, 2011, 02:55:59 PM »

I am a bit confused. Say I want to translate to spanish... !trans en (?) es this is a test.
What is the letter I put between the en and the es?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #20 on: November 12, 2011, 08:57:27 PM »

FWIW, not sure if this plugin will work for much longer.
Google is shutting down - er making paid - its API for translate.
See: http://googlecode.blogspot.com/2011/05/spring-cleaning-for-some-of-our-apis.html

Would be awesome if someone updated it to either A: Use the paid API (options in the config file) or B: Use MS translate API (https://datamarket.azure.com/dataset/1899a118-d202-492c-aa16-ba21c33c06cb) once again options in the config file.

Just a heads up.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Renting Server, no B3
Gameservers: CoD4
Posts: 48
Offline Offline
« Reply #21 on: December 29, 2011, 07:09:46 PM »

Hi!

So this plugin is not usable anymore? Or can I still use for my CoD4 server?
Logged

NEVERDiE GAMiNG pa3ck

Clan and CoD4 servers owner
Moderator
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2627
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #22 on: December 30, 2011, 05:46:25 AM »

Hi!

So this plugin is not usable anymore? Or can I still use for my CoD4 server?
Well, I don't think it still works anymore, I just tested it today and here is what happened....

Code:
111230 07:42:42 CONSOLE '20037:20 say;GUID;0;Mordy;\x15!trans en|es hi'
111230 07:42:42 VERBOSE 'Queueing event Say !trans en|es hi'
111230 07:42:42 VERBOSE 'Parsing Event: Say: AdminPlugin'
111230 07:42:42 DEBUG 'AdminPlugin: OnSay handle 5:"!trans en|es hi"'
111230 07:42:42 DEBUG 'AdminPlugin: Handle command !trans en|es hi'
111230 07:42:42 VERBOS2 'Say event handled by AdminPlugin in 13.930 ms'
111230 07:42:42 VERBOSE 'Parsing Event: Say: ChatloggerPlugin'
111230 07:42:42 DEBUG 'ChatloggerPlugin: ALL, 2, Mordy, !trans en|es hi'
111230 07:42:42 DEBUG 'ChatloggerPlugin: writing to file'
111230 07:42:42 DEBUG 'ChatloggerPlugin: writing to database'
111230 07:42:42 DEBUG 'ChatloggerPlugin: rowcount: 1, id:84508'
111230 07:42:42 VERBOS2 'Say event handled by ChatloggerPlugin in 14.246 ms'
111230 07:42:42 VERBOSE 'Parsing Event: Say: TranslatorsPlugin'
111230 07:42:42 VERBOS2 'Say event handled by TranslatorsPlugin in 14.745 ms'
111230 07:42:42 VERBOSE 'Parsing Event: Say: TelnetPlugin'
111230 07:42:42 VERBOS2 'Say event handled by TelnetPlugin in 13.573 ms'
111230 07:42:42 DEBUG 'TranslatorsPlugin: Unable to translate the sentence : en|es hi'
111230 07:42:42 VERBOSE "RCON sending (85.234.137.75:2304) 'tell 0 [^4R^1vO^4B^1ot^7]: ^3[pm]^7 Unable to translate'"

But maybe a issue on my end. Maybe try it and report back?
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Tags:
Pages: 1 [2]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal