calling super in all beforeRender and afterRender functions in our views to fix problem with locales