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

[BUG] I18n doesn't work with redis 4 version #571

Open
mPanasiewicz opened this issue Jun 15, 2021 · 0 comments
Open

[BUG] I18n doesn't work with redis 4 version #571

mPanasiewicz opened this issue Jun 15, 2021 · 0 comments

Comments

@mPanasiewicz
Copy link

mPanasiewicz commented Jun 15, 2021

What I tried to do

I'd like to work with the newest version of redis with i18n

What I expected to happen

Serve me translations from redis

What actually happened

Exception occured:

Redis::CommandError: ERR unknown command `[]`, with args beginning with: `de-DE.i18n.transliterate.rule`

Versions of i18n, rails, and anything else you think is necessary

Versions:
rails: 6.0.3.7
ruby: 2.7.3
redis: 4.3.1(the same on 4.2.5)
i18n: "i18n", "~> 1.8", ">= 1.8.10
Backend configuration:

I18n.backend = I18n::Backend::Chain.new(I18n::Backend::KeyValue.new(Redis.current), I18n.backend)

Thanks! ❤️

@mPanasiewicz mPanasiewicz changed the title [BUG] [BUG] I18n doesn't work with redis 4 version Jun 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant