Here: http://gist.github.com/294609 Makes String#t and String#/ work mostly like they do in Globalize1, without having Globalize1 installed. Useful if you're moving to Rails i18n and don't want to translate everything right away. Assumes a two-locale app. Does not handle String#t with arguments, and I'm sure more is missing that I haven't used or didn't think of. Please fork and contribute fixes. I would add it to the i18n wiki, but I can't find an edit link.
on 2010-02-04 14:35
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.