Mobility is a gem for storing and retrieving translations as attributes on a class. These translations could be the content of blog posts, captions on images, tags on bookmarks, or anything else you might want to store in different languages.

Storage of translations is handled by customizable "backends" which encapsulate different storage strategies. The default, preferred way to store translations is to put them all in a set of two shared tables, but many alternatives are also supported, including translatable columns and model translation tables, as well as database specific storage solutions such as jsonb and Hstore (for PostgreSQL).

Mobility is a cross-platform solution, currently supporting both ActiveRecord and Sequel ORM, with support for other platforms planned.

Monthly Downloads: 9,556
Programming language: Ruby
License: MIT License

Mobility alternatives and related gems

Based on the "Internationalization" category

Do you think we are missing an alternative of Mobility or a related project?

Add another 'Internationalization' Gem

Mobility Recommendations

There are no recommendations yet. Be the first to promote Mobility!

Have you used Mobility? Share your experience. Write a short recommendation and Mobility, you and your project will be promoted on Awesome Ruby.
Recommend Mobility

Recently added Mobility resources

  • If you are interested in reaching new markets or simply have more people reading your rails app, the Mobility gem can be useful to you. In this tutorial, I show you how to set up this gem
    Tutorial  Added by pmglourenco // revs.runtime-revolution.com // 9 months ago
  • Mobility wiki page on how "Backends" work.
    Article  Added by shioyama // github.com // over 1 year ago
  • Introduction to different translation strategies and how Mobility uses backends to represent each of these strategies.
    Article  Added by shioyama // dejimata.com // over 1 year ago