ruby on rails - I18n redis backend pluralization -


i switched app translations form yml fails redis backend.

what have in initializer:

translation_store = redis.new i18n.backend = i18n::backend::chain.new(i18n::backend::keyvalue.new(translation_store), i18n.backend) 

when switched redis backend lost pluralization support.

time_ago_in_words don't work expected.

any ideas? thanks.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -