Discourse-Translator++

official
multi-lingual

(Alan Tan) #1

discourse-translator - GitHub - discourse/discourse-translator

Features++

  • Each post is only translated once per locale which saves you :moneybag:
  • Access Token is cached server side for faster translations.
  • Translations are rate limited to 3 per minute (Could be made configurable)

Translation Services Supported

Installation

Setup

Microsoft

Instructions
  1. Subscribe to the Microsoft Translator API on Azure. Basic subscriptions, up to 2 million characters a month, are free. Translating more than 2 million characters per month requires a payment. You may pick from any of the available subscription offers.

  2. Under Admin > Settings > Plugins, enter the subscription key that you’ve obtained from the steps above.

  1. Under Admin > Settings > Basic Setup, enable allow user locale.

Google Translator

Instructions
  1. Go to https://console.developers.google.com

  2. Click on My project

  3. Click on the :heavy_plus_sign: to create a new project

  4. Enter your project name and click create

  5. Select Enable API and search for Google Cloud Translator API. Look for the enable button and click it to enable the API. Note that there is no free tier for the Google Translator API so it may prompt you to enable billing.

  6. Once you’re done, click on credentials in the left menu

  7. Click create credentials and select API key. Copy the API Key and paste it into the translator google api key site setting.

Known Issues

  • Does not translate text within polls generated by discourse-poll plugin.
  • Images are enlarged upon translating.

TODOS

  • Allow admin to set quota and disable translation once quota has been exceeded.
  • Disable translation for private messages???

Advice for bilingual communities
Can we have have one post with two different language
Allow users to choose any interface language, supported or not
Inline translation of posts into another language
Plugin for signatures?
Language Translation
Translate email notifications and digests into user preferred locale language
What exactly are the effects of "allow user locale"
Localized email templates
Google Translate shows "blank" page
Image zoom is not working
How to install a plugin on Discourse-hosted-Discourse?
Translator plugin
How to handle users that don't really read the answers they get?
Include translated posts in search?
Translate email notifications and digests into user preferred locale language
About the translator category
Make a multi-language forum
(Erlend Sogge Heggen) #2

238 posts were split to a new topic: Discourse Translator - Legacy replies


(Erlend Sogge Heggen) #249

Please post new replies to the #plugin:translator category.