Giter Site home page Giter Site logo

csgo-translator's Introduction

CSGO-Translator

Easy to use, single-file CS:GO chat translation tool.

You probably know the feeling of not being able to communicate in a match because everyone speaks a different language. Well, gone are those days. With this tool you can read translations of all foreign language messages, and even respond to them in their language. All while staying in the game.

CSGO-Translator will read the console output, detect chat messages, and then translate them with Google Translate. These translations can then be sent back to the in-game chat using Telnet.

You can also send a command to CSGO-Translator from the in-game chat. Which allows you to request a translation for some text in any language. This translation will then be sent in the in-game chat using Telnet.

All of this is accomplished using official CS:GO launch options. So this should be safe to use on official servers.

How to use

  1. Download the latest release (or build it yourself)
  2. Set CS:GO launch options: -condebug & -netconport 2121 (how do I do this?)
  3. start CS:GO & CSGO-Translator
  4. (Optional) Change the options in CSGO-Translator to your liking. (List of language codes)
  5. Read translations & send commands in the in-game chat!

Features & Examples

Translations in in-game chat



By default all messages from the all-chat which are not in your preferred language (set in the options), will be sent to your team-chat. You can change this in the options menu.

Commands from in-game chat



By default commands are allowed from the team-chat. You can change this in the options menu.

Command structure:

!team/all (-languagecode) MESSAGE

Example commands:

!team what are you doing?
!team -fr вау, ты действительно хорош 
!all -ru wat is jouw favoriete fruit?
!all -zh-TW I am peeking middle

If no -languagecode is given, it will default to the language code that is set in the options menu.
You can find the full list of supported language codes here

Translations



Options



By selecting Ignore own messages your chat messages (not commands) will be ignored by the translator.

Other features

  • Very simple to use
  • Lots of languages supported (Full list of language codes)
  • Translations are cached, so the same translation is used for identical messages.
  • Will work with all CS:GO install locations.
  • Everything can be done from the game, no need to Alt + Tab.

Current limitations

  • The current method of using Google Translate is rate-limited at 100 requests / hour.
  • Can't detect messages on certain community servers because of different chat structures.

csgo-translator's People

Contributors

nieknijland avatar kevvv avatar yawnston avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.