GithubHelp home page GithubHelp logo

cs2-translator's Introduction

CS2-Translator GitHub Downloads (all assets, all releases)

Easy to use single file CS2 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 while staying in the game.

CS2-Translator will read the console output, detect chat messages, and then translate them with Google Translate.

All of this is accomplished using official CS2 launch options.

How to use

  1. Download the latest Version (or build it yourself)
  2. Set CS2 launch options: -condebug (how do I do this?)
  3. start CS2 & CS2 Translator
  4. (Optional) Change the options in CS2 Translator to your liking. (List of language codes)

Update

To update the translator just download the latest Version (or build it yourself) Make sure to delete the old one.

Features & Examples

Translations



Options



Other features

  • Very simple to use
  • Single File
  • 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 CS2 install locations.
  • Everything done from in the game, no need to Alt + Tab.
  • New version notification

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.

What I changed:

  • switched to Dark Mode
  • removed options for telnet
  • changed the default location
  • added Text wrapping

cs2-translator's People

Contributors

paradoxleon avatar nieknijland avatar kevvv avatar yawnston avatar

Stargazers

Grafaffel avatar Koray avatar harish avatar

Watchers

 avatar  avatar

Forkers

cbazzy

cs2-translator's Issues

System.IO.IOException

System.IO.IOException: 'An attempt was made to move the file pointer before the beginning of the file.

(trying to read before the start of the file) StreamReader FileStream located in LogsController.cs

occurs when the translator is started before CS

in some locations the translation doesn't get send

in some locations on the map example nuke outside or office front courtyard the is no translation happening.
but only in team chat so i would assume its

                /* removal of the team-chat location info. */
                if (chatType == ChatType.Team)
                {
                    var idx = namePart.LastIndexOf('@');

                    if (idx != -1)
                    
                        namePart = namePart.Substring(0, idx).Trim();
                    
                }

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.