ruby on rails - How to add time format to locale on production? -


i use activeadmin gem , here error when try access site: actionview::template::error (translation missing: ru.time.formats.long). same error in development mode on local computer, , add

time:   formats:     long: "%y-%m-%d %h:%m:%s" 

to activeadmin original ru locale in external libraries. no good, know. in production can't this. tried add format config/locales in app, nothing happen. how add it?

update i'm sorry stupid question leave here. problem solved adding format locale in config/locales , server restart

problem solved adding format locale in config/locales

time:   formats:     long: "%y-%m-%d %h:%m:%s" 

and server restart


Comments

Popular posts from this blog

c++ - llvm function pass ReplaceInstWithInst malloc -

Cross-Compiling Linux Kernel for Raspberry Pi - ${CCPREFIX}gcc -v does not work -

java.lang.NoClassDefFoundError When Creating New Android Project -