On Wed, Apr 14, 2010 at 18:29, Yaroslav Markin <[email protected]> wrote:
> Hey. Really like your patch :) Thanks a lot for the feedback. > Quick feedback: > — we use i18n.* namespace for stuff like pluralization — maybe this is a > better fit than support.*?.. Ok, I'll change that. > — I'm not really sure about obj.respond_to?(:transliterate) — maybe we > should do it pluralize-like and support lambdas as argument? As well as a > Hash, of course. It's just that storing a lambda .rb translation is a bit > easier than storing classes :) Also, I18n 0.3 has quite good lambda > localization support already. That's actually what I wanted to do at first, but I didn't see how I could access the lambda without calling it: http://gist.github.com/366393 Am I missing something? > Not really sure about performance issues and solving them this way, I > believe stuff like this is handled by pluggable back-ends; I hope Sven or > anyone else can correct me on that. Ok, I'll take a look into the pluggable backends. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
