# Localization plugin issue?

**URL:** <https://www.ruby-forum.com/t/localization-plugin-issue/124797>\
**Category:** Rails\
**Created:** [January 2, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/localization-plugin-issue/124797 "2008-01-02T19:01:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![myst\_tt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@myst\_tt](https://www.ruby-forum.com/u/myst_tt)\
**Post date:** [January 2, 2008, 7:01pm UTC](https://www.ruby-forum.com/t/localization-plugin-issue/124797/1 "2008-01-02T19:01:08Z")

</div>

Hello, there:  
I am using “Localization plugin” to help my app support both English  
and Chinese.  
[http://wiki.rubyonrails.org/rails/pages/Localization+Plugin](http://wiki.rubyonrails.org/rails/pages/Localization+Plugin)

However, I dont find the way to switch the language version without  
interfering other users from client side.  
My way is adding a button, which links to an action, to change the  
variable “Localization.lang” 's value, but if one user switches from  
English to Chinese , it does affect all the other current users, their  
browsers also switches to Chinese!  
Any good idea?

Thanks a lot!  
myst

---

<div class="post-metadata">

**Author:** ![myst\_tt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@myst\_tt](https://www.ruby-forum.com/u/myst_tt)\
**Post date:** [January 2, 2008, 8:26pm UTC](https://www.ruby-forum.com/t/localization-plugin-issue/124797/2 "2008-01-02T20:26:18Z")

</div>

hi, i use this plugin too and don’t have your problem. you should keep  
language in a session or cookie variable.

---

<div class="post-metadata">

**Author:** ![myst\_tt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e47774/32.png) [@myst\_tt](https://www.ruby-forum.com/u/myst_tt)\
**Post date:** [January 2, 2008, 10:04pm UTC](https://www.ruby-forum.com/t/localization-plugin-issue/124797/3 "2008-01-02T22:04:55Z")

</div>

Hello, Jean:  
Yap, I thought of using session or cookie, but I dont know how to do  
that, I will try google it :). Thanks a lot!

Br,  
myst

On 1ÔÂ2ÈÕ, ÏÂÎç9Ê±25·Ö, “Jean-S¨¦bastien” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
