gregbell/active_admin — Issue #596: Translation Missing for :en
Author: regdog
Created: 2011-10-10 03:35:26+00:00
State: open

I am using rails3.0.9 with active_admin0.3.2. I didn't set any specific locale in config/application.rb or any additional code in initializers/active_admin.rb. I supposed that activeadmin will add locales files on load. But I met two issues:

1. While after I loggoed in admin, it throws message "translation missing: en.active_admin.dashboard_welcome.welcome".

I solved the issue by coping file active_admin/lib/active_admin/locales/en.yml to config/locales. But I really doubt that. Should activeadimn be supposed to load the locale files?

2. If I checked one of the resources, it will throw error "translation missing: en.time.formats.long".

I solved this issue by coping rails-i18n/rails/locale/en-US.yml into config/locales/en.yml. Why activeadmin don't include these into its locales yml files?