Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
camilo-stripe opened this issue Jan 14, 2020 · 1 comment
Open

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

camilo-stripe opened this issue Jan 14, 2020 · 1 comment

Comments

@camilo-stripe
Copy link

camilo-stripe commented Jan 14, 2020

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
Copy link
Collaborator

radar commented Jan 14, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants