Hello. I want simple thing. Translate routes with I18n like this
get I18n.t('routes.login') => "devise/sessions#new", :as => :new_user_session
I made file initilizers/locale.rb with
I18n.default_locale = :cz
It works perfectly when i run 'rake routes', but when i run server it ignore default locale and throw 'translation missing message'
Any suggestion what is happening and why ?