Forum: Rails I18n how to detect translated fields?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Patrick A. (Guest)
on 2007-06-08 20: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

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

This topic is locked and can not be replied to.