pathHasLocale() — astro Function Reference
Architecture documentation for the pathHasLocale() function in i18n.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD f5244a7f_f046_7201_f764_35baa33bb5f0["pathHasLocale()"] 113cc879_696f_ac71_941f_004a5fb4282c["i18n.ts"] f5244a7f_f046_7201_f764_35baa33bb5f0 -->|defined in| 113cc879_696f_ac71_941f_004a5fb4282c style f5244a7f_f046_7201_f764_35baa33bb5f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/virtual-modules/i18n.ts lines 248–248
export const pathHasLocale = (path: string) => I18nInternals.pathHasLocale(path, locales);
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does pathHasLocale() do?
pathHasLocale() is a function in the astro codebase, defined in packages/astro/src/virtual-modules/i18n.ts.
Where is pathHasLocale() defined?
pathHasLocale() is defined in packages/astro/src/virtual-modules/i18n.ts at line 248.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free