Regarding localization

Im trying to implement localization language options with drop-
down menu button…

here my html code…

Select a language <%@lang_view.each do|key,value|%> ><%=key%> <%end%>

when an event fires it call the “startRequest()” method which is
defined in script tags.

actually ‘get_lang’ method is in application controller.

Instead of going to application controller… it is checking this
“get_lang” method in current controller.(“i.e url”).

please any one help me regrding this…