Decidim::AmazonTranslate

Machine translations module for Amazon Translation AWS service.

Installation

Add this line to your application's Gemfile:

gem "decidim-amazon_translate"

Usage

Update config/initializers/decidim.rb to contain:

config.machine_translation_service = "Decidim::AmazonTranslate::AmazonTranslator"
config.machine_translation_delay = 0.seconds

Make sure you have AWS credentials in your environment variables:

Environment variables example:

AWS_TRANSLATE_REGION="eu-central-1"
AWS_ACCESS_KEY_ID="XXXXXX"
AWS_SECRET_ACCESS_KEY="XXXXXX"

And then enable machine translations in the admin webinterface settings.

Find more documentation on the general machine translation feature in the decidim documentation:

https://docs.decidim.org/en/develop/develop/machine_translations.html

Contributing

Feel free to open issues or pull requests.

See Decidim.

License

This engine is distributed under the GNU AFFERO GENERAL PUBLIC LICENSE.