Hi Sven

Nice.

I'd use this even without having gettext as the backend.

With helpers you refer to the ability to accept named arguments? Would 
you add that to the _ method or would you do it ruby-gettext style by 
extending String with a % method?

(I'd prefer _ to accept the arguments directly, saves polluting the 
String object)


Cheers,
Lawrence

> Btw I've just pushed some experiments with gettext'ish accessors on  
> top of Rails I18n:
>
> http://github.com/svenfuchs/i18n/tree/gettext
>
> You might particularly want to look at the helper layer and the tests:
>
> http://github.com/svenfuchs/i18n/blob/49220ce667fe542041c97bd38a0190e27a9581d6/lib/i18n/gettext.rb
> http://github.com/svenfuchs/i18n/blob/49220ce667fe542041c97bd38a0190e27a9581d6/test/gettext_test.rb
>
> For a fullstack gettext support that uses the Rails I18n API there  
> seem to be three things missing:
>
> - complete the helpers (trivial)
> - implement a gettext backend (anybody?)
> - figure out a gettext'ish way to announce expected translations for  
> computed keys
>
> Any help and/or feedback would be appreciated!
>   


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to