Skip to content

Translation of menu parent  #3183

@macarthy

Description

@macarthy

If you try to use a I18n label for a menu's parent it does not get translated.
For example:

 menu :parent => I18n.t("active_admin.vehicles") , :priority => 2, url: ->{ admin_cars_path(locale: I18n.locale) }

Also you can not use a proc

  Proc isn't supported as a Menu ID

I've found a the same question in issues, but its from 2012 and completely out of sync with the current code.

#1361 (comment)

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