AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [TF2] Chat Translation (https://forums.alliedmods.net/showthread.php?t=200969)

Mr. Man 11-15-2012 16:10

[TF2] Chat Translation
 
I run a server with a diverse group of players who come from different parts of the world. As a result, most of them aren't able to communicate with each other since they don't speak English.

Therefore, it would be useful for us to have a plugin which does the following:

1. Automatically translate typed messages into the recipient's native language (based on GeoIP location detection) with Google translation services.

2. Have ability for players to toggle this feature on or off.

3. Have ability for players to set translation types manually by country code.

Mitchell 11-15-2012 17:47

Re: [TF2] Chat Translation
 
for any future developer, the api fro google's translate is here: https://developers.google.com/translate/

this may not be possible, since it would require:
1. Webhost, with bandwidth.
2. Php coding with the api, and to return and input connections from the selected webserver.

Dr. McKay 11-15-2012 20:04

Re: [TF2] Chat Translation
 
Quote:

Originally Posted by Mitchell (Post 1838485)
for any future developer, the api fro google's translate is here: https://developers.google.com/translate/

this may not be possible, since it would require:
1. Webhost, with bandwidth.
2. Php coding with the api, and to return and input connections from the selected webserver.

This could be done directly in SourcePawn.

Also, no need to use the GeoIP location. You can just query the client's cl_language cvar.

Mr. Man 11-15-2012 20:50

Re: [TF2] Chat Translation
 
Quote:

Originally Posted by Dr. McKay (Post 1838537)
This could be done directly in SourcePawn.

Also, no need to use the GeoIP location. You can just query the client's cl_language cvar.

That's very interesting. I always thought a direct IP identification would be more accurate. For example, someone from the Philippines setting his TF2 as English when he's actually more fluent speaking Filippino.

Dr. McKay 11-15-2012 21:08

Re: [TF2] Chat Translation
 
Quote:

Originally Posted by Mr. Man (Post 1838565)
That's very interesting. I always thought a direct IP identification would be more accurate. For example, someone from the Philippines setting his TF2 as English when he's actually more fluent speaking Filippino.

But what if someone who doesn't know any Filippino is on vacation in the Philippines? I'm pretty sure the client knows what language he wants.

minimoney1 11-15-2012 21:21

Re: [TF2] Chat Translation
 
Part of this request has been done by this plugin:
https://forums.alliedmods.net/showthread.php?p=1436866
The other part I have seen it being done in Eventscripts (not through Google Translate, but through Yahoo! Bablefish) in this plugin:
http://addons.eventscripts.com/addon...urcetranslator
So I would imagine it being possible to implement easily through SP only.

Mitchell 11-15-2012 22:38

Re: [TF2] Chat Translation
 
didn't know it was possible to take an expensive translate program into sourcepawn like that :o

Dr. McKay 11-15-2012 22:46

Re: [TF2] Chat Translation
 
SourcePawn is quite flexible.

Mr. Man 12-05-2012 05:58

Re: [TF2] Chat Translation
 
Still looking for someone to take on this project since the GeoIP language selection isn't what I need, to be exact.


All times are GMT -4. The time now is 02:38.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.