El Domingo, 30 de Agosto de 2009 20:24:16 Sven Fuchs escribió:
> On 30.08.2009, at 20:00, Michael Koziarski wrote:
> >> I'll have a look at a patch. I assume this can go into 2.3.x?
> >
> > Let's start with master and look at backporting if it's simple and
> > 'purely additive'.
> 
> I guess it is :)
> 
> Here are two patches for master and 2-3-stable:
> 
> https://rails.lighthouseapp.com/projects/8994/tickets/2325/a/256496/0001_ma
> ster_i18n-load_path-support-for-engines.patch
>  https://rails.lighthouseapp.com/projects/8994/tickets/2325/a/256522/0001_2
> -3-stable_i18n-load_path-support-for-engines.patch
> 
> Ticket:
> 
> https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/2325-i1
> 8n-support-for-engines

Thanks Sven for pushing this.

I'm afraid it was incomplete. Engine translations are added at the end of the 
I18n.load_path, so they take precedence over application translations.

I think application developers should be able to overwrite engine 
translations, so here is a patch for it:


https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/3537-
prioritize-application-i18n-above-engine-i18n

http://github.com/atd/rails/commit/6161e719012e856a59248fe338ff1c014ed344b3

--

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 rubyonrails-c...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-core+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en.


Reply via email to