I would advise against doing this though. As a developer, I expect to find 
locales in config/locales. If things aren't in their correct places, I tend to 
mildly freak out.  


On Thursday, 5 April 2012 at 1:40 PM, Andrés Mejía wrote:

> You can put them anywhere you want. If you want to put them in assets, just 
> add
>  
> config.i18n.load_path += Dir[Rails.root.join('assets', 'locales', 
> '*.{rb,yml}').to_s]
>  
> to your config/application.rb file.  
>  
>  
> On Thu, Apr 5, 2012 at 11:35 AM, Rafael Mendonça França 
> <[email protected] (mailto:[email protected])> wrote:
> > You can put it inside the app directory too. Both are loaded.  
> >  
> > --  
> > Rafael Mendonça França
> > http://twitter.com/rafaelfranca
> > https://github.com/rafaelfranca
> > Sent with Sparrow (http://www.sparrowmailapp.com)
> >  
> >  
> > On Thursday, 5 April, 2012 at 13:05, Alexey wrote:
> >  
> > > I give up about calling them assets, but maybe locales can be at least in 
> > > app/ directory?
> > >  
> > > On Wednesday, April 4, 2012 11:40:51 PM UTC+2, Ryan Bigg wrote:
> > > > You're right that they're not downloadable. They're still used in the 
> > > > process of generating assets that are downloadable. The ones that are 
> > > > downloadable live in public/assets anyway.
> > > >  
> > > >  
> > >  
> > >  
> > > --  
> > > You received this message because you are subscribed to the Google Groups 
> > > "Ruby on Rails: Core" group.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msg/rubyonrails-core/-/FJeSmbkwA0MJ.
> > > To post to this group, send email to [email protected] 
> > > (mailto:[email protected]).
> > > To unsubscribe from this group, send email to 
> > > [email protected] 
> > > (mailto:[email protected]).
> > > For more options, visit this group at 
> > > http://groups.google.com/group/rubyonrails-core?hl=en.
> >  
> > --  
> > 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] 
> > (mailto:[email protected]).
> > To unsubscribe from this group, send email to 
> > [email protected] 
> > (mailto:rubyonrails-core%[email protected]).
> > For more options, visit this group at 
> > http://groups.google.com/group/rubyonrails-core?hl=en.
>  
> --  
> 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] 
> (mailto:[email protected]).
> To unsubscribe from this group, send email to 
> [email protected] 
> (mailto:[email protected]).
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-core?hl=en.

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