check if entities are set, not empty + add exceptions
remove debug code
Merge pull request #359 from pascalchevrel/locale_dashboard_view

Locale dashboard view