Toffbrown Posted February 2, 2014 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 I DON'T HAVE HATERS, I JUST HAVE FANS IN DENIAL
MTA Team 0xCiBeR Posted February 2, 2014 MTA Team 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. DevOps Engineer, Cloud Advocate & Security Engineer(Red Team) | Coffee, Containers & Burp
Toffbrown Posted February 3, 2014 Author Posted February 3, 2014 what functions would i use to check if another language ? I DON'T HAVE HATERS, I JUST HAVE FANS IN DENIAL
Toffbrown Posted February 10, 2014 Author Posted February 10, 2014 bump I DON'T HAVE HATERS, I JUST HAVE FANS IN DENIAL
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