Change the name trans() to translate() for using in Hogan templates. Continue views localization.
Fix for handlePostRequest with localization, fix for editProfile route.