Toffbrown Posted February 2, 2014 Share Posted February 2, 2014 Heyy, im Currently a staff member in a Server called JJ's Stunt and Freeroam helping with managing,scripting and enforcing the rules but we are a "English only server" which is pretty much self explanatory but alot of players who join dont understand that so we have to mute etc, so we have decided to let player speak any language to up the player count but it is sometimes highly frustrating when they are speaking another language and i need to use google translator to figure out what they need help with so is it possible to create a script to detect another language and then send the data to google translate and output into the chat box the english version or maybe using a strings table might work with a dictionary of say german,spanish,arabic,chinese etc?? TIA Cheers Link to comment
MTA Team 0xCiBeR Posted February 2, 2014 MTA Team Share Posted February 2, 2014 For that you have to use a api, in the case of google translate it says: Google Translate API is a paid service. So, you will have to find another translation service with api avaliable, and use fetchRemote. Link to comment
toxicsmoke11 Posted February 2, 2014 Share Posted February 2, 2014 http://www.bing.com/translator with api Link to comment
Toffbrown Posted February 3, 2014 Author Share Posted February 3, 2014 what functions would i use to check if another language ? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now