Skip to content

Error: :en is not a valid locale #2155

@nazarok

Description

@nazarok

if I do not have in available_locales :en, I get an error:

Showing /home/user/.rvm/gems/ruby-2.2.0@project/gems/rails_admin-0.6.6/app/views/rails_admin/main/index.html.haml where line #78 raised:

:en is not a valid locale

This error occurs because the project multiple times specifying an explicit locale: :en.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions