import en from "./locale/en.json";
import cn from "./locale/cn.json";

export default defineI18nConfig(() => ({
  legacy: false,
  fallbackLocale: 'en',
  availableLocales: ['cn', 'en'],
  messages: {
    en,
    cn
  },
  // 移除重复的locale配置，让Nuxt i18n自动管理
  fallbackWarn: false,
  missingWarn: false
}))
