You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bastien 0619efdac1 Fix 2 years ago
assets Use ajax module 3 years ago
config Merge remote-tracking branch 'upstream/master' 2 years ago
services/discourse_translator Merge remote-tracking branch 'upstream/master' 2 years ago
spec FIX: Ensure `post_id` is valid. 2 years ago
.eslintrc Update to new PluginAPI 3 years ago
LICENSE Add LICENSE. 4 years ago
README.md Add support for Azure portal subscription key. 2 years ago
example.gif New example.gif. 4 years ago
plugin.rb Fix 2 years ago
setup.png Add support for Azure portal subscription key. 2 years ago

README.md

discourse-translator

Translation Services Supported

Installation

https://meta.discourse.org/t/install-a-plugin/19157

Setup

Microsoft

  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.

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

Known Issues

  • Does not translate text within polls plugin.

TODOS

  • Allow admin to set quota and disable translation once quota has been exceeded.
  • Google Translate Adapter.
  • Translated from #{language} should be localized too.