How to detect translated fields?

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 forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs