Skip to content

Attributes.rb values' language #40

@fonji

Description

@fonji

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions