4f2abe185c
* 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
13 lines
368 B
TypeScript
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'],
|
|
},
|
|
});
|