title: In Grails, how do I save the locale when the user changes the language?
body: <p>I have a Grails app with a language dropdown selector that looks something like this:</p>
  
  <pre><code>&lt;li&gt;&lt;a href="?lang=tr_TR"&gt;Turkish&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="?lang=en_US"&gt;English&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="?lang=fr_FR"&gt;French&lt;/a&gt;&lt;/li&gt;
  </code></pre>
  
  <p>When the user clicks on the link, it appends the <code>lang</code> parameter to the querystring and the language is changed properly. However, now I have to save the language change to the database so that we know the last selected language for the user. Does anybody know how I can accomplish this?</p>