grafana/public/locales/i18next-parser.config.js
Josh Hunt a26d4c90b2
I18N: Fail i18n:extract on warnings + update strings (#60949)
* I18N: Fail i18n:extract on warnings

* I18N: Fix onboarding page title

* extract all strings

* move t reassign outside of function
2023-01-04 15:28:07 +00:00

22 lines
486 B
JavaScript

module.exports = {
// Default namespace used in your i18next config
defaultNamespace: 'grafana',
locales: ['en-US', 'fr-FR', 'es-ES', "de-DE", "zh-Hans", 'pseudo-LOCALE'],
output: './public/locales/$LOCALE/$NAMESPACE.json',
pluralSeparator: '__',
sort: true,
createOldCatalogs: false,
failOnWarnings: true,
verbose: false,
// Don't include default values for English, they'll remain in the source code
skipDefaultValues: (locale) => locale !== 'en-US',
};