# Change Localized Language Dynamically

**URL:** <https://www.ruby-forum.com/t/change-localized-language-dynamically/109210>\
**Category:** Rails\
**Created:** [July 12, 2007, 12:53pm UTC](https://www.ruby-forum.com/t/change-localized-language-dynamically/109210 "2007-07-12T12:53:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stanly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/65b543/32.png) [@stanly](https://www.ruby-forum.com/u/stanly)\
**Post date:** [July 12, 2007, 12:53pm UTC](https://www.ruby-forum.com/t/change-localized-language-dynamically/109210/1 "2007-07-12T12:53:13Z")

</div>

Hi All,

I am using Localization provided in the Salted Hash Login Plugin. I am  
running into a problem i want to change the language on the fly  
depending on say users profile settings after logging him in. How do i  
go about doing this as i just can’t think of any thing. I tried to use  
:lang =\> ‘fr’ within l() but for no use. Or is this possible with this  
Plugin.

Regards
