grafana/public/locales/i18next-parser.config.js
Josh Hunt 0d390382d3
I18n: Reset back to default plural seperators (#76284)
* reset to standard plural seperators for crowdin compatibility

* update docs
2023-10-10 19:00:33 +03:00

20 lines
460 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',
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',
};