컨텍스트: 단일 locale registry로 routing, labels, fallback, messages, hero, About content를 관리합니다.
→
Anglefeint Starter Guide 2: Languages and Routing
default locale, fallback, URL 규칙
출력
다국어 설정은 src/site.config.ts 의 i18n 에 모여 있습니다.
핵심 항목:
i18n.defaultLocalei18n.routing.defaultLocalePrefixi18n.localesmeta.labelmeta.hreflangmeta.ogLocalemeta.enabledmeta.fallbackmessagessite.heroabout
defaultLocalePrefix 가 'always' 면 기본 언어 홈은 /<default-locale>/ 이고, 'never' 면 / 가 canonical 홈이 됩니다.
글 파일은 계속 src/content/blog/<locale>/ 아래에 둡니다.
24 단어 · 31 토큰