In message <[EMAIL PROTECTED]>
        Xin Zheng <[EMAIL PROTECTED]> wrote:

> That's a great idea. The code will also be more usable.
>
> I'm thinking of calling the module 'i18n.rb' which will go into /lib/.
>
> The API call might look like: text_for(:node_limit_exceeded).

Sounds good to me.

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?

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to