Created
August 13, 2012 11:53
-
-
Save anonymous/3339959 to your computer and use it in GitHub Desktop.
Lokka で translation missing が出まくって困ってしまった場合の対処方法
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::I18n.load_path += Dir["#{root}/i18n/*.yml"] | |
helpers Lokka::Helpers | |
use Rack::Session::Cookie, | |
:expire_after => 60 * 60 * 24 * 12 | |
set :session_secret, 'development' if development? | |
use Rack::Flash | |
Lokka.load_plugin(self) | |
Lokka::Database.new.connect | |
I18n.reload! # Added this line | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment