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

rails admin randomly change language #2837

Closed
buncis opened this issue Feb 19, 2017 · 1 comment
Closed

rails admin randomly change language #2837

buncis opened this issue Feb 19, 2017 · 1 comment

Comments

@buncis
Copy link
Contributor

buncis commented Feb 19, 2017

I have 2 language in my application english and indonesia
and I set my default language to :english
but when I open rails admin sometimes it use indonesia as language and sometimes it use english
(after I close and re-open the rails admin)
how to make it consistent using english?

I have follow this troubleshoot guide btw
https://github.com/sferik/rails_admin/wiki/Troubleshoot#other-issues
adding I18n.default_locale = :en to my rails_admin config

rails_admin (1.1.1)
rails(5.0.0.1)
globalize (5.1.0)
see the models name in sidebar in english it have s(plurals) and the datetime format also changed
rails admin lang
after some refresh

buncis added a commit to buncis/rails_admin that referenced this issue Feb 19, 2017
dirubah ke inggris di bulan
biar rails adminnya bisa nyimpen data kalo ada anomali berubah bahasa sendiri
railsadminteam#2837
@buncis
Copy link
Contributor Author

buncis commented Sep 19, 2017

it's because rails admin not using rails default controller

config.parent_controller = '::ApplicationController'

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

2 participants