# Form\_for ... adding locale

**URL:** <https://www.ruby-forum.com/t/form-for-adding-locale/183584>\
**Category:** Rails\
**Created:** [February 17, 2010, 12:10am UTC](https://www.ruby-forum.com/t/form-for-adding-locale/183584 "2010-02-17T00:10:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [February 17, 2010, 12:10am UTC](https://www.ruby-forum.com/t/form-for-adding-locale/183584/1 "2010-02-17T00:10:39Z")

</div>

\<% form\_for @countryToSearchFor, :url =\> { :action =\> “show”, :id =\>  
“connected\_to\_country” }, :html =\> {:method =\> :get} do |f| %\>

---

<div class="post-metadata">

**Author:** ![ralphshnelvar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/e19adc/32.png) [@ralphshnelvar](https://www.ruby-forum.com/u/ralphshnelvar)\
**Post date:** [February 17, 2010, 12:15am UTC](https://www.ruby-forum.com/t/form-for-adding-locale/183584/2 "2010-02-17T00:15:03Z")

</div>

Ralph S. wrote:

> \<% form\_for @countryToSearchFor, :url =\> { :action =\> “show”, :id =\>  
> “connected\_to\_country” }, :html =\> {:method =\> :get} do |f| %\>

I hit the dame return key. Ugh.

Anyway …

Is this the place I should modify so that when the user hits the submit  
button associated with this form that a ?locale=de is appended?
