diff --git a/package.json b/package.json index b8c6dc4b..76710cec 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bfx-report", - "version": "4.11.0", + "version": "4.11.1", "description": "Reporting tool", "main": "worker.js", "license": "Apache-2.0", diff --git a/workers/loc.api/i18next/index.js b/workers/loc.api/i18next/index.js index 6baaba7f..5db2016d 100644 --- a/workers/loc.api/i18next/index.js +++ b/workers/loc.api/i18next/index.js @@ -22,7 +22,12 @@ module.exports = (params) => { const configs = merge( { - fallbackLng: 'en', + fallbackLng: { + es: ['es-EM'], + pt: ['pt-BR'], + zh: ['zh-CN'], + default: ['en'] + }, ns: Object.values(TRANSLATION_NAMESPACES), defaultNS: 'email', preload: [...transPaths.reduce((accum, transPath) => {