GetLocaleOptions Type — astro Architecture
Architecture documentation for the GetLocaleOptions type/interface in index.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8dd8905b_9f47_4dba_d1ea_115c1d9c8bbd["GetLocaleOptions"] 8585eccb_1f08_df1e_3383_f4002ac7762a["index.ts"] 8dd8905b_9f47_4dba_d1ea_115c1d9c8bbd -->|defined in| 8585eccb_1f08_df1e_3383_f4002ac7762a style 8dd8905b_9f47_4dba_d1ea_115c1d9c8bbd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/i18n/index.ts lines 52–62
export type GetLocaleOptions = {
/**
* Makes the locale URL-friendly by replacing underscores with dashes, and converting the locale to lower case.
* @default true
*/
normalizeLocale?: boolean;
/**
* An optional path to prepend to `locale`.
*/
prependWith?: string;
};
Defined In
Source
Frequently Asked Questions
What is the GetLocaleOptions type?
GetLocaleOptions is a type/interface in the astro codebase, defined in packages/astro/src/i18n/index.ts.
Where is GetLocaleOptions defined?
GetLocaleOptions is defined in packages/astro/src/i18n/index.ts at line 52.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free