Hi Mick, I can't think of any reason why it shouldn't load. The only thing that you need to remember is that you need to restart your Rails server, because the load_paths are only checked at startup.
Best wishes, Iain http://iain.nl On Dec 25, 10:58 am, MickTaiwan <[email protected]> wrote: > Hi, > > If I put my 2 locales en and fr in one file (config/locales/en.yml) > english an french locales are loaded and I can switch between the two. > > But if I put the french local in a separate fr.yml file, then I get > "translation missing: fr, email" errors. > > My configuration.rb has: > config.i18n.load_path += Dir[File.join(RAILS_ROOT, 'config', > 'locales', > '*.{rb,yml}')] > > Could someone explain this ? > > Thanks for any help, > Mickael. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" 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/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
