mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 23:23:45 -06:00
a26d4c90b2
* I18N: Fail i18n:extract on warnings * I18N: Fix onboarding page title * extract all strings * move t reassign outside of function
22 lines
486 B
JavaScript
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',
|
|
};
|