add controller and view helper to get locale