i18n Not Enabled
i18nNotEnabled: The
astro:i18n
module can not be used without enabling i18n in your Astro config.
무엇이 잘못되었나요?
섹션 제목: 무엇이 잘못되었나요?Astro 구성에서 i18n을 활성화하지 않으면 astro:i18n
모듈을 사용할 수 없습니다. i18n을 활성화하려면 기본 로케일과 지원되는 로케일 목록을 Astro 구성에 추가하세요.
import { defineConfig } from 'astro'export default defineConfig({ i18n: { defaultLocale: 'en', locales: ['en', 'fr'], },})
Astro의 국제화 지원에 대한 자세한 내용은 국제화 가이드를 참조하세요.
더 보기:
Error Reference