Ghost/ghost/i18n/i18next-parser.config.js

22 lines
422 B
JavaScript
Raw Permalink Normal View History

const {SUPPORTED_LOCALES} = require('./');
/**
* @type {import('i18next-parser').UserConfig}
*/
module.exports = {
locales: SUPPORTED_LOCALES,
keySeparator: false,
namespaceSeparator: false,
defaultNamespace: process.env.NAMESPACE || 'translation',
createOldCatalogs: false,
indentation: 4,
sort: true,
failOnUpdate: process.env.CI,
output: 'locales/$LOCALE/$NAMESPACE.json'
};