Forums
April 25, 2024, 02:38 PM

Author Topic: Wormkit translator module idea  (Read 641 times)

0 Members and 1 Guest are viewing this topic.

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 445
    • View Profile
Wormkit translator module idea
« on: April 17, 2016, 08:18 PM »
Basically this proposed Wormkit module would translate pre-game lobby and in-game chat on the fly. I don't think I've seen it suggested anywhere. Would it be hard to make? Yandex Translate has a free API for small projects like this.

Chat text is already written to the replay and chat log in real-time as it happens. The translator module could easily extract that chat, and translate each line on Yandex.

To address possible inefficiencies, the module could communicate with itself on a very basic level. The module should detect if more than one player has the translation module, and designate one player to be the translator for that game. The designated translator will be told (or detect) each player's specified native language(s), and whisper them translations on the fly. That way, in a game with 5 English players and one Russian, those 5 players won't be all hammering the Yandex service at once for the same translation.

There could be a predefined list of common words/terms, so things like "ns" and "lol" didn't get sent to Yandex, and the translation was just pulled from a database.

Bilingual players could specify more than one language, to opt out of receiving unnecessary translations. You could toggle whether to see translations for things you say or not. You could choose to disable translation for certain players, similar to the mute function.


We don't have Unicode support yet for Asian players, but at least all the Russian, Portuguese, Polish, etc players would finally be able to understand each other. Since players would (by necessity) see both the original and the translated text, this module would actually help people learn other languages. It would be great to be able to communicate more effectively with people, and would really help keep WA alive IMO.

I'd be surprised if the required code for a lot of this isn't already available as open-source somewhere. If not, anyone who decided to code this would be able to reuse the main parts for other projects. It'd make a good "learner" project for a new programmer too.

Offline TheWalrus

Re: Wormkit translator module idea
« Reply #1 on: April 17, 2016, 10:08 PM »
great, ill finally be able to understand what the chileans are talking about all the time ;D

Offline Gabriel

  • Slacker is a queefer
  • Hero Member
  • *****

  • Chile Chile
  • UC UC clan

  • Posts: 1,115
  • Might come back later idk
    • View Profile
Re: Wormkit translator module idea
« Reply #2 on: April 17, 2016, 10:51 PM »
great, ill finally be able to understand what the chileans are talking about all the time ;D

I don't think translators will work for chilean spanish.  :P
Mole shopper is the worst thing in the world.

Offline reN`s

  • I am ren just ren the ren instantly ren
  • Hero Member
  • *****

  • Chile Chile
  • ICB ICB clan
  • rM rM community

  • Posts: 538
  • About it what do u want? Its just a game.
    • View Profile
Re: Wormkit translator module idea
« Reply #3 on: April 18, 2016, 12:50 AM »
great, ill finally be able to understand what the chileans are talking about all the time ;D

I don't think translators will work for chilean spanish.  :P

xDDDDD +1