Topic: Translator Client [DDNet based]
Hey fellow tees,
today I want to present you something I've been working on today: A client that is able to translate into different languages LIVE, the client is based on DDNet, means it has all features of it.
After turning the feature on, you basically enter a text in you prefered language, and it will apear in the destination language you selected. It also works the other way around, incoming messages are translated aswell in a different chat entry.
IMPORTANT: I know that there is some delay. That is because I used a API, for me it is about 0.5-1 second, depends on your internet speed. Please do not report any issues regarding this problem.
Variables (entered in f1 local console)
COMMAND, DEFAULT, DESCRIPTION
cl_trans_in, 0, "Translate incoming messages"
cl_trans_out, 0, "Translate outgoing messages"
cl_trans_in_src, "ru", "Which language are the incoming messages written in?"
cl_trans_in_dest, "en", "Which language should incoming messages be translated?"
cl_trans_out_src, "en", "Which language are the outgoing messages written in?"
cl_trans_out_dest, "ru", "Which language should outgoing messages be translated?"
The standard setup it for communicating in english with a russian parter, as it was originally made to talk to russians who are not able to understand english.
The languages are entered in RFC3066 format, which are most likely common 2 letter abbreviations. (Some examples: "en" = english, "ru" = russian, "de" = german, "fr" = french)
I think you get the drill.
Download (Windows x64 & Linux x64): http://www.mediafire.com/download/rftxu … client.zip
Source: http://www.mediafire.com/download/q96gc … bv/src.zip (compile in DDNet source dir)
Greetings and have fun, xush
Proudly verkeckt since 2010.