Home / Function/ getAbsoluteLocaleUrl() — astro Function Reference

getAbsoluteLocaleUrl() — astro Function Reference

Architecture documentation for the getAbsoluteLocaleUrl() function in i18n.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  a3a1737c_c2e6_f28c_2b06_18e7c9416882["getAbsoluteLocaleUrl()"]
  113cc879_696f_ac71_941f_004a5fb4282c["i18n.ts"]
  a3a1737c_c2e6_f28c_2b06_18e7c9416882 -->|defined in| 113cc879_696f_ac71_941f_004a5fb4282c
  style a3a1737c_c2e6_f28c_2b06_18e7c9416882 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/virtual-modules/i18n.ts lines 97–111

export const getAbsoluteLocaleUrl = (locale: string, path?: string, options?: GetLocaleOptions) =>
	I18nInternals.getLocaleAbsoluteUrl({
		locale,
		path,
		base,
		trailingSlash,
		format,
		site,
		defaultLocale,
		locales,
		strategy,
		domains,
		isBuild,
		...options,
	});

Domain

Subdomains

Frequently Asked Questions

What does getAbsoluteLocaleUrl() do?
getAbsoluteLocaleUrl() is a function in the astro codebase, defined in packages/astro/src/virtual-modules/i18n.ts.
Where is getAbsoluteLocaleUrl() defined?
getAbsoluteLocaleUrl() is defined in packages/astro/src/virtual-modules/i18n.ts at line 97.

Analyze Your Own Codebase

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

Try Supermodel Free