Hi Mike,
Thanks a lot. It works.
Regards,
Seeni Rafiyullah Khan A,
*In Every moment, thank God.*
P Please consider the environment before printing this email
On Thu, Jan 26, 2017 at 5:03 PM, Mike wrote:
> Don't use default_locale
>
> In
Don't use default_locale
In ApplcationController do something like
before_filter :set_user_locale
def set_user_locale
I18n.locale = params[:locale] if params[:locale]
end
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To
Hi All,
In order to support internalization in our application, we are giving an
option to the user to select the language. But the problem here is, when
one user select one language for example 'Chinese', all other users
browser's language also changing to Chinese.
We want something like
3 matches
Mail list logo