[OSM-dev] extracting output text from api_controller

Karl Newman siliconfiend at gmail.com
Thu Jan 24 15:10:45 GMT 2008


2008/1/24 Xin Zheng <xin at zxv.ltd.uk>:

> At some point that routine is presumably going to need access to
> the request object in order to work out what language to use, so
> maybe we want to consider that now?
>
>
>  This might be a daft question, but have you considered using one of
> the approximately 20 zillion plugins that exist for rails to do
> internationalisation?
>
>
> Yes, both great ideas. I'm in the middle of refactoring map at the moment.
> I'll investigate them later today or tomorrow.


You might specifically look at gettext (
http://manuals.rubyonrails.com/read/book/16). There's a lot of existing tool
support for translators.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20080124/2753e34c/attachment.html>


More information about the dev mailing list