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

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