The view is distorted after using activeadmin, says that there is no translation

I used twitter bootstrap stone to create a storage application. It worked fine until I add the activeadmin shortcut.

There is a line in the view of the administrator’s main page: Store title

and

"translation_missing" 

almost everywhere, and the view is distorted.

This is what 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 
+4
source share
1 answer

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

It worked for me. ActiveAdmin lacked some translations (possibly due to a Gem conflict), and this fixes this.

+9
source

Source: https://habr.com/ru/post/1434115/


All Articles