Home > @uniformdev/project-map > getRouteAlternateLocalesUrls
getRouteAlternateLocalesUrls() function
Gets all possible locale specific URLs for a composition route response
This is appropriate for generating links to other locale versions of the current composition, such as for alternate language tags, language switchers, etc.
The URLs will be: * Computed based on the attached project map node path * Not include a base URL from the project map, if one is set * If a dynamic locale path segment exists, it will be rewritten automatically to the target locale
Signature:
Parameters
<table><thead><tr><th>
Parameter
</th><th>
Type
</th><th>
Description
</th></tr></thead> <tbody><tr><td>
routeResponse
</td><td>
</td><td>
</td></tr> </tbody></table> Returns:
AlternateLocaleUrls | undefined