grosser / gettext_i18n_rails

Rails: FastGettext, I18n integration -- simple, threadsafe and fast!

grosser (author)
Thu Aug 13 23:15:49 -0700 2009
commit  92bc3e5fdac3de5ade1a125895de65c3dc352ed9
tree    1dffc75047635ce2ad7578c5673d651d775c84e7
parent  d0cd4a76f4e95e580110c847d55f0b74e00ef5a7
gettext_i18n_rails / init.rb
100644 10 lines (9 sloc) 0.374 kb
1
2
3
4
5
6
7
8
9
10
begin
  require 'config/initializers/session_store'
rescue LoadError
  # weird bug, when run with rake rails reports error that session
  # store is not configured, this fixes it somewhat...
end
 
#requires fast_gettext to be present.
#We give rails a chance to install it using rake gems:install, by loading it later.
config.after_initialize { require 'gettext_i18n_rails' }