2008/1/24 Xin Zheng <<a href="mailto:xin@zxv.ltd.uk">xin@zxv.ltd.uk</a>>:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">At some point that routine is presumably going to need access to<br>the request object in order to work out what language to use, so
<br>maybe we want to consider that now?</blockquote><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;"><br></blockquote><blockquote style="border: medium none ; margin: 0pt 0pt 0pt 40px; padding: 0px;">
This might be a daft question, but have you considered using one of<br>the approximately 20 zillion plugins that exist for rails to do<br>internationalisation?</blockquote><div><br></div></div>
Yes, both great ideas. I'm in the middle of refactoring map at the moment. I'll investigate them later today or tomorrow.</blockquote></div><br>You might specifically look at gettext (<a href="http://manuals.rubyonrails.com/read/book/16">
http://manuals.rubyonrails.com/read/book/16</a>). There's a lot of existing tool support for translators.<br><br>Karl<br>