import { defineConfig } from "i18next-cli";

export default defineConfig({
  locales: [
    "en",
    "zh_CN"
  ],
  extract: {
    input: "src/**/*.{js,jsx,ts,tsx}",
    output: "src/i18n/locales/{{language}}/{{namespace}}.json",
    preservePatterns: [
      "error:*",
      "sidebar:toolsets.status.*",
    ],
    defaultNS: false,
  }
});
