Skip to main content

Translation framework.

Project description

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](http://dejimata.com/2017/3/3/translating-with-mobility#strategy-1) and [model translation tables](http://dejimata.com/2017/3/3/translating-with-mobility#strategy-2), as well as database-specific storage solutions such as [jsonb](https://www.postgresql.org/docs/current/static/datatype-json.html ) and [Hstore](https://www.postgresql.org/docs/current/static/hstore.html) (for PostgreSQL).

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mobility-0.1.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file mobility-0.1.tar.gz.

File metadata

  • Download URL: mobility-0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for mobility-0.1.tar.gz
Algorithm Hash digest
SHA256 ba27c6c03b4e55a00c5075cd6575995523043bb8f55626462d7f23990a8f9b39
MD5 8b74a4a68015ea577866e0c7d76179af
BLAKE2b-256 f305e8a7657aa66ab00972d8296602be243a9d52dbff5d57c9d889aae242e461

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page