import { syncJSON } from '@intlayer/sync-json-plugin'; import { type IntlayerConfig, Locales } from 'intlayer'; const config: IntlayerConfig = { internationalization: { locales: [Locales.ENGLISH, Locales.FRENCH, Locales.SPANISH], defaultLocale: Locales.ENGLISH, }, ai: { provider: 'anthropic', model: 'claude-haiku-5-5', apiKey: process.env.ANTHROPIC_API_KEY, }, // ai: { // provider: 'openai', // model: 'gpt-5.6-terra', // apiKey: process.env.OPENAI_API_KEY, // }, plugins: [ syncJSON({ format: 'icu', source: ({ key, locale }) => `./locales/${locale}/${key}.json`, }), ], }; export default config;