<?php

if ( ! function_exists('localization')) {
    /**
     * Get the Localization instance.
     *
     * @return Arcanedev\Localization\Contracts\Localization
     */
    function localization()
    {
        return app(Arcanedev\Localization\Contracts\Localization::class);
    }
}

<?php

if ( ! function_exists('localization')) {
    /**
     * Get the Localization instance.
     *
     * @return Arcanedev\Localization\Contracts\Localization
     */
    function localization()
    {
        return app(Arcanedev\Localization\Contracts\Localization::class);
    }

    /**
     * Translated route from name helper
     *
     */
    function routeTo($route, $parameters = [])
    {
        return localization()->getUrlFromRouteName(localization()->getCurrentLocale(), $route, $parameters);
    }
}

Add a helper function for building translated route links so you can do something like this: linkTo("routes.route-name", array("arrays of parameters, slugs"));
Add a helper function for building translated route links so you can do something like this: linkTo("routes.route-name", array("arrays of parameters, slugs"));
