GetText Question: How not to gather ActiveRecord's columns?

Hi,

Rake’s ‘updatepo’ task1 suggested by Masao(Ruby-GetText maintainer)
gather whole model’s columns. I don’t need to translate those column
names.
So I’d like to give translators the po files without such needless
messages.
However I wouldn’t like to exclude ‘app/models’, because of some useful
gettext-ized validation messages.
What should I do?

Thanks,

Hi,

On Thu, 22 Jun 2006 17:28:51 +0900
“Gyoung-Yoon N.” [email protected] wrote:

Hi,

Rake’s ‘updatepo’ task[1] suggested by Masao(Ruby-GetText maintainer)
gather whole model’s columns. I don’t need to translate those column names.
So I’d like to give translators the po files without such needless messages.
However I wouldn’t like to exclude ‘app/models’, because of some useful
gettext-ized validation messages.
What should I do?

Now Ruby-GetText doesn’t have such options.

But if you stop your database (or wrong config.xml),
updatepo task can’t extract the column names. As the result, it may
be satified what you need.

I understood the needs and I agree we need some options for this.
So, I’ll try to add a new feature for it.

Thanks.

On 6/23/06, Masao M. [email protected] wrote:

Thanks.

Thanks. I think it’s a good hack for the present.

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