Arcanedev\Localization\Contracts\RouteTranslatorInterface::findTranslatedRouteByPath PHP Method

findTranslatedRouteByPath() public method

Returns the translated route for the path and the url given.
public findTranslatedRouteByPath ( string $path, string $locale ) : string | false
$path string - Path to check if it is a translated route
$locale string - Language to check if the path exists
return string | false
    public function findTranslatedRouteByPath($path, $locale);