The project is in a healthy, maintained state
Machine translations module for Amazon Translation AWS service.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.27.0, < 0.28
 Project Readme

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.