ruby-i18n / i18n

Internationalization (i18n) library for Ruby
MIT License
986 stars 411 forks source link

We want to use I18n::Backend::KeyValue without active_record #513

Open camilo-stripe opened 4 years ago

camilo-stripe commented 4 years ago

Description

Right now we're using I18n::Backend::Simple to load translation files, however we want to switch from YAML to JSON locale files, and instead of reading directly from the locale files, passing an in-memory hash with the translation using I18n::Backend::KeyValue.new(store).

Due to integration issues we cannot support active_record and thus we'd want a way to use I18n::Backend::KeyValue without needing it

Versions of i18n

0.69

radar commented 4 years ago

I am not sure I understand here.

  1. What does active_record have to do with anything?
  2. Why are you using a version of i18n (0.69) that was released in 2013?

Please follow the steps outlined in the ISSUE TEMPLATE so that you can help me understand what you're asking here.