Skip to content

Use Google Translate API to translate chat messages between over 100 languages in this RuneLite Plugin.

License

Notifications You must be signed in to change notification settings

simbleau/chat-translator

Repository files navigation

Chat Translator

🅰️->🈯️ The Chat Translator plugin allows players to translate any message in the chat box by right clicking the message. The plugin uses Google Cloud Platform's Translate API. This means the player must setup such an account and generate an API key for use in this plugin. Steps are given below.

⚠️ You will need to set up a billing account on Google. You will almost certainly never be charged by Google for normal use of this plugin. ⚠️

How do I use this plugin?


  • In the RuneLite Chat Translator panel, you can specify a source language and a target language for translation.

    • The source language is a language you speak
    • The target language is a language you (probably) don't speak and want to translate to Options
  • Right click over a chat message of text in the chat box to translate Demo 1

  • You can also type a message, and right click your chat input to translate

    Demo 2

Setup


  1. Start a Google Cloud Platform account.

    Step 1

  2. Navigate to Google Cloud Platform Billing and set up a billing account.

    Step 2

  3. Link your billing account to a project. You are automatically started with a created project when you sign up called "My Project". If you don't have a created, project, you can click here to create one.

    Step 3

    • Will translating cost you? Short answer: Probably not. At the time of writing this, you receive 500,000 characters of translation free every month. But their pricing may change, so check. Unless you plan on translating that much, you pay nothing. If you used my referral link, you were also gifted the amount of 18,000,000 characters of translation for the first 3 months for free.

      Monthly Usage Price
      < 500,000 characters Free (applied as $10 credit every month)
      > 500,000 characters $20 per million characters
  4. Enable the Google Cloud Translate API.

    Step 4

  5. Navigate to the API credentials of your project.

    Step 5

  6. Create an API Key for your account.

    • (OPTIONAL) If you want to be more safe with your API Key, you can restrict the usage of the API key to the Cloud Translate API only.

    Step 6

  7. Copy your API Key which will be input to the plugin.

    Step 7

  8. On the RuneLite plugin, open the Chat Translator panel, and press "Authenticate". Enter your API Key received in step 7.

    Step 8

  • You're done! Enjoy!

    Step 8

About

Use Google Translate API to translate chat messages between over 100 languages in this RuneLite Plugin.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages