Files
grafana/packages/grafana-sql/i18next.config.ts
T
Hugo Häggmark 4f2abe185c Chore: Replace deprecated i18next-parser (#112512)
* chore: replace deprecated i18next-parser

* chore: bump i18next-cli to 1.11.6

* chore: revert translation files

* chore: bumps to i18next-cli 1.11.9

* Trigger build

* chore: revert translations files

* chore: bump i18next-cli

* chore: changes after yarn i18n-extract

* chore: revert translation files

* chore: bump i18next-cli to 1.11.12

* chore: fix select space

* chore: add i18next to packages

* chore: add i18next-cli to plugin dev deps

* chore: fix yarn lock
2025-10-27 10:38:31 +01:00

13 lines
368 B
TypeScript

import { defineConfig } from 'i18next-cli';
export default defineConfig({
locales: ['en-US'], // Only en-US is updated - Crowdin will PR with other languages
extract: {
input: ['src/**/*.{tsx,ts}'],
output: 'src/locales/{{language}}/{{namespace}}.json',
defaultNS: 'grafana-sql',
functions: ['t', '*.t'],
transComponents: ['Trans'],
},
});