I translated my active admin menu :
# encoding: utf-8
ActiveAdmin.register City do
menu :parent => "Données géographiques", :label => I18n.t(:cities)
end
In my active_admin.fr.yml :
fr:
active_admin:
dashboard: "Tableau de Bord"
dashboard_welcome:
welcome: "Bienvenue dans Active Admin. Ceci est la page par défaut."
call_to_action: "Pour ajouter des sections au tableau de bord, consultez 'app/admin/dashboards.rb'"
cities: "Villes"
In my local (debian 6) everything works fine, but on my pre-production (debian 6), it’s writter :
translation missing: fr.cities
I tried to reboot apache, clear cache, reload I18n… I failed.
Any idea?
I found the solution, you have to write that on your application.rb :
Reboot apache and that’s good!