Forum: Rails I18n how to detect translated fields?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
997433f165140d58f52b8c0d1d005dc1?d=identicon&s=25 Patrick Aljord (Guest)
on 2007-06-08 18:48
(Received via mailing list)
Hey all,
I use globalize intern translation like this:

class Media < ActiveRecord::Base
self.keep_translations_in_model = true
  translates :name, :base_as_default => true
end

and I use it for several models. Is there a globalize function that
returns all the translated fields of a given model?
Also, is there a function that returns the array of all the defined
language in environment.rb?

thanx in advance

Pat
This topic is locked and can not be replied to.