Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Arcanedev
Localization
Localization
transRoute
Arcanedev\Localization\Localization::transRoute PHP Method
Localization Class Documentation
Datei anzeigen
Open project: arcanedev/localization
transRoute()
public
method
Translate routes and save them to the translated routes array (used in the localize route filter).
public
transRoute
(
string
$routeName
) :
string
$routeName
string
return
string
public function transRoute($routeName) { return $this->routeTranslator->trans($routeName); }
Localization
__construct
createUrlFromUri
findTranslatedRouteByUrl
getAllLocales
getCurrentLocale
getCurrentLocaleDirection
getCurrentLocaleEntity
getCurrentLocaleName
getCurrentLocaleNative
getCurrentLocaleRegional
getCurrentLocaleScript
getDefaultLocale
getLocalizedURL
getNonLocalizedURL
getSupportedLocales
getSupportedLocalesKeys
getUrlFromRouteName
isDefaultLocaleHiddenInUrl
isLocaleSupported
isLocaleSupportedOrFail
localesNavbar
localizeURL
request
setBaseUrl
setLocale
setRouteNameFromRequest
setSupportedLocales
transRoute