I am using Rails 2.3.8 and have setup in config/initializers/i18n.rb

I18n.backend.class.send(:include, I18n::Backend::Fallbacks)
I18n.fallbacks.map(:tc => [:sc, :en])

so that if there is no translation in tc, the sc translation is used.

Text translations works ok.

I was kind of expecting the same thing should apply to views. For
example, in the index action,  if the current locale is 'tc' and
index.tc.html.erb does not exist, the application should use
index.sc.html.erb if it is present. But currently it falls back to
index.en.html.erb or index.html.erb because my default_locale is en.

Does anybody experience the same thing? Or is there something I am
doing wrong.

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

Reply via email to