# shioyama/mobility

Pluggable Ruby translation framework

Repository: https://github.com/shioyama/mobility
Canonical: https://ross.abutalabs.com/products/mobility
Language: Ruby
License: MIT
License Family: permissive
Topics: translation, i18n, ruby, activerecord, sequel, localization, rails, ruby-gem, json, jsonb, postgresql, hstore
Last push: 2026-03-30T07:47:25+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 40, longevity 100
- inputs: {"age_days": 3479, "days_push": 156, "days_rel": 586, "gap_med": 27.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1136, forks 96 (observed 2026-08-28T04:03:43.677256+00:00)

## What it is
Mobility is a pluggable Ruby gem for storing and retrieving translated attributes on classes, supporting multiple storage backends such as shared translation tables, translatable columns, and PostgreSQL b/hstore. It works with both ActiveRecord and Sequel ORMs.

## Use cases
- translate model attributes into multiple languages in a Rails app
- store translations in PostgreSQL b columns
- migrate from Globalize to a maintained i18n gem
- add multilingual content to ActiveRecord or Sequel models
- store blog post content in different languages
- localize image captions or bookmark tags

## When to choose
- you need flexible, pluggable translation backends in Ruby
- you use ActiveRecord or Sequel and want multilingual attributes
- you want PostgreSQL-specific storage like b or hstore for translations

## When to avoid
- you need i18n for static strings and UI labels rather than database content (use ruby-i18n)
- your project is not Ruby-based
- you need translation management workflows with human translators

## Facets
- artifact type: library
- maturity: active
- function: internationalization, orm, serialization
- domain: web-development, databases
- platform: ruby
- tags: i18n, activerecord, sequel, postgresql, b, hstore, model-translations, ruby-gem, localization, rails

## Member repositories
- shioyama/mobility (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.677256+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:32.102130+00:00, confidence not recorded.
  - readme: https://github.com/shioyama/mobility (fetched 2026-08-28T04:03:43.677256+00:00, sha 7860639463e5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
