Method: GetText#set_current_locale

Defined in:
lib/gettext.rb

#set_current_locale(lang) ⇒ Object Also known as: current_locale=

Set the locale to the current thread. Note that if #set_locale is set, this value is ignored. If you need, set_locale(nil); set_current_locale(lang)



273
274
275
# File 'lib/gettext.rb', line 273

def set_current_locale(lang)
  Locale.current = lang
end