public function trans($route, $locale = null);
/** * Translate routes and save them to the translated routes array (used in the localize route filter). * * @param string $routeName * * @return string */ public function transRoute($routeName) { return $this->routeTranslator->trans($routeName); }