grafana/public/locales/i18next-parser.config.js
Josh Hunt 5361efc225
I18n: Migrate to I18next (#55845)
* Switch from lingui from i18next

* Change lingui messages to i18next messages

* Change lingui messages to i18next messages (grafana-ui)

* Init i18n for tests
2022-10-06 16:34:04 +01:00

16 lines
393 B
JavaScript

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