Jifty::Plugin::I18N::Action::SetLang - Sets user's current language


Jifty documentation  | view source Contained in the Jifty distribution.

Index


NAME

Top

Jifty::Plugin::I18N::Action::SetLang - Sets user's current language

PARAMETERS

Top

lang

Top

The language to change to

METHODS

Top

available_languages

Returns the list of possible internationalizations, as an array reference suitable to pass to valid_values.

arguments

Sets the valid values for lang to available_languages.

take_action

Alters the current session to use the given language.


Jifty documentation  | view source Contained in the Jifty distribution.