Tr8n Translation Engine is a Rails Engine Plugin/Gem that provides a platform for crowd-sourced translations of your Rails application. The power of the engine comes from its simple and friendly user interface that allows site users as well as professional translators to rapidly translate the site into hundreds of languages.
The rules engine that powers Tr8n allows translators to indicate whether sentences depend on gender rules, numeric rules or combinations of rules configured for each language. The language specific context rules and language cases can be registered and managed in the administrative user interface. The engine provides a set of powerful tools that allow admins to configure any aspect of the engine; enabling and disabling its features and monitoring translation progress.
Tr8n translation engine has been successfully deployed by Geni and Yammer:
Geni Inc, http://www.geni.com
Yammer Inc, http://www.yammer.com
Documentation is available on Tr8n's wiki site:
Add the following gems to your Gemfile:
gem 'will_filter', "~> 3.1.2"
gem 'tr8n', "~> 3.2.1"
And run:
$ bundle
At the top of your routes.rb file, add the following lines:
mount WillFilter::Engine => "/will_filter"
mount Tr8n::Engine => "/tr8n"
To configure and initialize Tr8n engine, run the following commands:
$ rails generate will_filter
$ rails generate tr8n
$ rake db:migrate
$ rake tr8n:init
$ rails s
Open your browser and point to:
The best way to get going with Tr8n is to run the gem as a stand-alone application and follow the instructions and documentation in the app:
$ git clone git://github.com/tr8n/tr8n.git
$ cd tr8n/test/dummy
$ bundle install
$ rake db:migrate
$ rake tr8n:init
$ rails s
Open your browser and point to:
Below are a few screenshots of what Tr8n looks like:
Yammer in Translation
Yammer Now Available in Dutch, French, German, Japanese, Korean, and Spanish
Geni Goes Global With 20 New Languages And A Crowdsourced Translation Tool
Quora Discussion - What is the best way to deal with internationlization of text on a large social site?