In application.rb i defined:

config.i18n.default_locale = :ru
But all texts on the site are in English. Typus interface is in
English too and when I delete config/locales/en.yml it prints can not
load translations from /home/kir/rails/tftc/config/locales/en.yml

My server: Apache and Passenger 3.

Apache config:
<VirtualHost *:80>
   ServerName mysite.com
   DocumentRoot /home/user/rails/tftc/public
   RailsEnv development
   <Directory /home/user/rails/tftc/public>
      AllowOverride all
      Options -MultiViews
   </Directory>
</VirtualHost>
Why Rails 3 ignore the default_locale option?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to