Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate items in the menu #846

Closed
sebfie opened this issue Dec 13, 2011 · 3 comments
Closed

Translate items in the menu #846

sebfie opened this issue Dec 13, 2011 · 3 comments

Comments

@sebfie
Copy link

sebfie commented Dec 13, 2011

Hello,

How can i translate the items in the main menu? I tried to add this in my translation file but it does not work :

  Cities: "ville"

Thank you for help.

@marcusvmsa
Copy link

You can do this translating the model name for activerecord, like so:

"pt-BR":
    activerecord:
        models:
            user: "Usuário"
            category: "Categoria" 

Or by changing the menu label, eg: in your ActiveAdmin.register Category, put menu :label => "Categorias"

@Cleverson
Copy link

vlw pela dica

@jpmckinney
Copy link
Contributor

@savini has correct answers. Can close issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants