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

i18n - column names and translating ActiveAdmin #57

Closed
bbonamin opened this issue May 18, 2011 · 1 comment
Closed

i18n - column names and translating ActiveAdmin #57

bbonamin opened this issue May 18, 2011 · 1 comment

Comments

@bbonamin
Copy link
Contributor

Using the method t('path_inside_yml_file') doesn't work in column's names. It returns the path_inside_yml_file in the forms instead of the actual translated value.

Is it possible to translate the whole activeAdmin gem with yml files? I could give a hand here and share the results. Thanks.

@bbonamin
Copy link
Contributor Author

Formtastic seems to use the syntax

I18n.t('path_inside_yml_file')

UPDATE: My YAML Files were messed up. This syntax works correctly.

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

1 participant