Home / Function/ getLocaleAbsoluteUrlList() — astro Function Reference

getLocaleAbsoluteUrlList() — astro Function Reference

Architecture documentation for the getLocaleAbsoluteUrlList() function in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  66f0f5a6_e902_0cba_8a68_5853da33a41f["getLocaleAbsoluteUrlList()"]
  e4a1ef92_c598_36b5_dc33_9ab2535360bc["index.ts"]
  66f0f5a6_e902_0cba_8a68_5853da33a41f -->|defined in| e4a1ef92_c598_36b5_dc33_9ab2535360bc
  06094faf_bf64_c24d_c02f_c4f82b35ccc7["toCodes()"]
  66f0f5a6_e902_0cba_8a68_5853da33a41f -->|calls| 06094faf_bf64_c24d_c02f_c4f82b35ccc7
  cf355024_249a_7bed_bfe7_1053cdb82b44["getLocaleAbsoluteUrl()"]
  66f0f5a6_e902_0cba_8a68_5853da33a41f -->|calls| cf355024_249a_7bed_bfe7_1053cdb82b44
  style 66f0f5a6_e902_0cba_8a68_5853da33a41f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/i18n/index.ts lines 171–176

export function getLocaleAbsoluteUrlList(params: GetLocalesAbsoluteUrlList) {
	const locales = toCodes(params.locales);
	return locales.map((currentLocale) => {
		return getLocaleAbsoluteUrl({ ...params, locale: currentLocale });
	});
}

Domain

Subdomains

Frequently Asked Questions

What does getLocaleAbsoluteUrlList() do?
getLocaleAbsoluteUrlList() is a function in the astro codebase, defined in packages/astro/src/i18n/index.ts.
Where is getLocaleAbsoluteUrlList() defined?
getLocaleAbsoluteUrlList() is defined in packages/astro/src/i18n/index.ts at line 171.
What does getLocaleAbsoluteUrlList() call?
getLocaleAbsoluteUrlList() calls 2 function(s): getLocaleAbsoluteUrl, toCodes.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free