From masterkain at gmail.com Sat Apr 14 06:13:09 2007 From: masterkain at gmail.com (Claudio Poli) Date: Sat, 14 Apr 2007 12:13:09 +0200 Subject: [Gloc-users] few questions Message-ID: hi, I'm enjoying GLoc with rails 1.2.3 and it works pretty well. I've a couple of questions: - does exists out there a rake task that will scan your files to search for missing strings/keys? - how can I generate languages dropdowns? - I've those rules for Italian pluralisation: nplurals=2; plural=n != 1; in which format should I apply them in _gloc_rule_default ? - how to translate validation errors? I've used something like ActiveRecord::Errors.default_error_messages[:inclusion] = "error_message_inclusion" in my environment.rb, but I suspect that I should overwrite some rails helper code to have an appropriate translation, by now I'm using :message like this: validates_presence_of :full_name, :message => [:validation_account_error_full_name_missing] anyway what is presented is ugly, I always get the object in front of the line because of full_messages. Anyone has a solution? Thanks.