Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

view is distorted after using activeadmin, says translation missing

I have used twitter-bootstrap gem to make a store application. It was working fine until I added the activeadmin gem.

The view of the admin home page has a line: Store Title

and the

"translation_missing" 

is almost every where and the view is distorted.

These are the things I did: add this line to my gem file:

gem 'activeadmin'

and then run this:

rails generate active_admin:install
rake db:migrate
rails s
like image 223
abhishek dagar Avatar asked Jan 16 '23 13:01

abhishek dagar


1 Answers

Try this, go to /config/locales/en.yml, and add the latest en.yml from the active_admin repo to the end (or replace the same block for en: active_admin block if it already exists in your local en.yml file)

This worked for me. ActiveAdmin was missing some translations (probably due to a Gem conflict) and this fixes that.

like image 171
jbnunn Avatar answered Jan 25 '23 14:01

jbnunn