tripod icon indicating copy to clipboard operation
tripod copied to clipboard

Attributes.rb values' language

Open fonji opened this issue 11 years ago • 0 comments

Hello,

There's a TODO on line 36 of attributes.rb which reads

# try to get it in english if it's there. (TODO: make it configurable what the default is)

I think the easy solution would be to use I18n.locale, which defaults to :en.

Also, I think this should be applied to multivalued items. I have a(n ugly) solution for this here with tests there.

PS: thanks for the last commits, especially the construct instead of describe, it's awesome.

fonji avatar Jan 13 '15 13:01 fonji