Change the name trans() to translate() for using in Hogan templates. Continue views localization.