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
Why Rails 3 ignore the default_locale option?
If I run the app via rails server
everything is ok…
On 20 Apr 2011, at 05:15, iEmpire [email protected] wrote:
If I run the app via rails server
everything is ok…
Did you restart passenger (by touching your_app/tmp/restart.txt) after
making the change
Fred
Yes. Also I tried to run my app on another server with simmilar
configuration, but no result.
On Apr 20, 11:42am, Frederick C. [email protected]
Just for future generations: it’s draper’s issue —
https://github.com/jcasimir/draper/issues/202
Took me two days.
iEmpire wrote in post #993970:
Yes. Also I tried to run my app on another server with simmilar
configuration, but no result.
On Apr 20, 11:42am, Frederick C. [email protected]