simbleau / chat-translator

Use Google Translate API to translate chat messages between over 100 languages in this RuneLite Plugin.
BSD 2-Clause "Simplified" License
8 stars 2 forks source link
google-translate-api runelite-plugin translation

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.

:warning: 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. :warning:

How do I use this plugin?


Setup


  1. Start a Google Cloud Platform account.

  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