Skip to content

Ruby on Rails plugin to translate your acts_as_translatable models using Bing.

Notifications You must be signed in to change notification settings

lassebunk/translate_acts_as_translatable_models

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Ruby on Rails plugin to translate your acts_as_translatable models using Bing.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages