ai/r18n — Issue #44: How to change current locale?
Author: apocalyptiq
Created: 2011-10-28 11:35:57+00:00
State: open

I'm using r18n with Sinatra, and yes, there is a manual for it, but I can't find anywhere how to change locales manually!!! I just want something like this:

get /somespecificpath' do
set_locale :some_locale
end

How can I set current locale in r18n used with Sinatra?