Multiple Language Selection

Hi all,

     I have created a website and it is nice working. Now I want to add a drop down from which user can select English or Spanish language and according to the chosen value website content will be displayed. I have already created file in /protected/messages/es and /protected/messages/en folder and both folder has app.php file.

I just want that when my selection change whole website language needs to be changed.

Thanks in Advance.

[color="#006400"]/* moved from Tips, Snippets … */[/color]