No commit activity in last 3 years
No release in over 3 years
Ruby on Rails plugin for easy translation of your acts_as_translatable models.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

translate_acts_as_translatable_models is a Ruby on Rails plugin for easy translation of your acts_as_translatable (lassebunk/acts_as_translatable) enabled models.

Installation¶ ↑

In your Gemfile:

gem 'translate_acts_as_translatable_models'

And run bundle install.

Example¶ ↑

Translate the Category and Product models from English into Spanish:

$ rake translate_acts_as_translatable_models class=Category,Product from=en to=es app_id=<Your Bing API Application ID>

Have fun! Please send comments and suggestions to lassebunk@gmail.com, and issues here at GitHub, please :)

Todo’s¶ ↑

  • Encapsulate all translation logic in separate class

Thanks¶ ↑

Thanks to Ricky Elrod for his excellent and simple bing_translator gem!

Copyright © 2012 Lasse Bunk, released under the MIT license