mirror of
https://github.com/grafana/grafana.git
synced 2025-12-18 22:16:21 -05:00
* 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
554 B
TypeScript
13 lines
554 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: {
|
|
ignore: ['public/lib/monaco/**/*', 'public/app/extensions/**/*', 'public/app/plugins/datasource/**/*'],
|
|
input: ['public/**/*.{tsx,ts}', 'packages/grafana-ui/**/*.{tsx,ts}', 'packages/grafana-data/**/*.{tsx,ts}'],
|
|
output: 'public/locales/{{language}}/{{namespace}}.json',
|
|
defaultNS: 'grafana',
|
|
functions: ['t', '*.t'],
|
|
transComponents: ['Trans'],
|
|
},
|
|
});
|