Registry / database / i18n-active-record

i18n-active-record

JSON →
library1.4.0rbrubygemsunverified

I18n ActiveRecord backend. Allows to store translations in a database using ActiveRecord, e.g. for providing a web-interface for managing translations.

gem install i18n-active_record
INSTALL
IMPORT
SIG · I18N-ACTIVE-RECORD
I
i18n-active-record
databaserubyv1.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

I18n::Backend::ActiveRecord
require 'i18n/active_record'

Set up the ActiveRecord backend and store a translation.

require 'i18n/active_record' I18n.backend = I18n::Backend::ActiveRecord.new I18n.backend.store_translations(:en, { hello: 'Hello' }) puts I18n.t(:hello)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
26 hits · last 30 days
node
22
Resources
i18n-active-record — gem install i18n-active-record · libregistry