Added the `translate` method to the Controller.