Skip to content

armgit / orca

Public Imported from GitHub
0

Orca is the place for working with a fleet of agents (e.g. Grok Bot, Claude Code). Run any coding agent with your own subscription. Available on desktop, mobile and remote runtime.

616 B
Raw Blame
import { defineConfig } from 'i18next-cli'

const output =
  process.env.ORCA_I18N_EXTRACTION_OUTPUT ?? 'tmp/localization-extraction/{{language}}.json'

export default defineConfig({
  locales: ['en'],
  extract: {
    input: ['src/**/*.{js,jsx,ts,tsx,mts,cts}'],
    ignore: [
      '**/*.test.*',
      '**/*.spec.*',
      '**/__tests__/**',
      '**/__snapshots__/**',
      '**/assets/**'
    ],
    output,
    defaultNS: false,
    functions: ['t', '*.t', 'translate', 'translateMain', 'translateSearchKeyword'],
    useTranslationNames: ['useTranslation'],
    sort: true,
    removeUnusedKeys: true
  }
})