You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After closing the browser tab and closing yarn (ctrl-C) and running yarn watch again I get more error output:
server: i18next: initialized {
server: debug: true,
server: initImmediate: false,
server: ns: [
server: 'translation', 'user',
server: 'validation', 'clientCounter',
server: 'reduxCounter', 'serverCounter',
server: 'counter', 'post',
server: 'upload', 'contact',
server: 'pagination', 'PrintReport',
server: 'PdfReport', 'ExcelReport',
server: 'report', 'notFound',
server: 'auth', 'stripeSubscription',
server: 'chat', 'reports'
server: ],
server: defaultNS: [ 'translation' ],
server: fallbackLng: [ 'en-US' ],
server: fallbackNS: false,
server: whitelist: [ 'en-US', 'ru-RU', 'cimode' ],
server: nonExplicitWhitelist: false,
server: load: 'all',
server: preload: [ 'en-US', 'ru-RU' ],
server: simplifyPluralSuffix: true,
server: keySeparator: '.',
server: nsSeparator: ':',
server: pluralSeparator: '_',
server: contextSeparator: '_',
server: saveMissing: false,
server: updateMissing: false,
server: saveMissingTo: 'fallback',
server: saveMissingPlurals: true,
server: missingKeyHandler: false,
server: missingInterpolationHandler: false,
server: postProcess: false,
server: returnNull: true,
server: returnEmptyString: true,
server: returnObjects: false,
server: joinArrays: false,
server: returnedObjectHandler: [Function: returnedObjectHandler],
server: parseMissingKeyHandler: false,
server: appendNamespaceToMissingKey: false,
server: appendNamespaceToCIMode: false,
server: overloadTranslationOptionHandler: [Function: handle],
server: interpolation: {
server: escapeValue: true,
server: format: [Function: format],
server: prefix: '{{',
server: suffix: '}}',
server: formatSeparator: ',',
server: unescapePrefix: '-',
server: nestingPrefix: '$t(',
server: nestingSuffix: ')',
server: maxReplaces: 1000
server: },
server: resources: {
server: 'en-US': {
server: user: [Object],
server: validation: [Object],
server: clientCounter: [Object],
server: reduxCounter: [Object],
server: serverCounter: [Object],
server: counter: [Object],
server: post: [Object],
server: upload: [Object],
server: contact: [Object],
server: pagination: [Object],
server: PrintReport: [Object],
server: PdfReport: [Object],
server: ExcelReport: [Object],
server: report: [Object],
server: notFound: [Object],
server: auth: [Object],
server: stripeSubscription: [Object],
server: chat: [Object],
server: reports: {}
server: },
server: 'ru-RU': {
server: user: [Object],
server: validation: [Object],
server: clientCounter: [Object],
server: reduxCounter: [Object],
server: serverCounter: [Object],
server: counter: [Object],
server: post: [Object],
server: upload: [Object],
server: contact: [Object],
server: pagination: [Object],
server: PrintReport: [Object],
server: PdfReport: [Object],
server: ExcelReport: [Object],
server: report: [Object],
server: notFound: [Object],
server: auth: [Object],
server: stripeSubscription: [Object],
server: chat: [Object],
server: reports: {}
server: }
server: },
server: detection: { lookupCookie: 'lang' },
server: isClone: true
server: }
server: i18next: languageChanged en-US
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next: languageChanged en-US
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::translator: missingKey en-US clientCounter loading loading
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::translator: missingKey en-US serverCounter loading loading
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next: languageChanged en-US
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next: languageChanged en-US
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
server: i18next::languageUtils: rejecting non-whitelisted language code: en
Desktop (please complete the following information):
OS: MacOS 12 and Manjaro
Browser: Chrome and Firefox
Smartphone (please complete the following information):
N/A
Additional context
It seems that the i18n module is rendered numerous times server-side per page load, not sure if that's the chicken or egg in this situation. You can add a console.log statement in the render() function of the i18n module to verify multiple renders.
Thanks for your help and apologies in advance of any of this is normal behavior.
The text was updated successfully, but these errors were encountered:
Describe the bug
Setting debug to true in
modules/i18n/common-react/init.ts
reveals the the following potential issues:i18next::languageUtils: rejecting non-whitelisted language code: en
To Reproduce
Steps to reproduce the behavior:
modules/i18n/common-react/init.ts
)yarn
yarn seed
yarn watch
yarn watch
again and observe more error messagesExpected behavior
I tried to debug to achieve expected behavior to no success
Screenshots
After closing the browser tab and closing yarn (ctrl-C) and running yarn watch again I get more error output:
Desktop (please complete the following information):
OS: MacOS 12 and Manjaro
Browser: Chrome and Firefox
Smartphone (please complete the following information):
N/A
Additional context
It seems that the i18n module is rendered numerous times server-side per page load, not sure if that's the chicken or egg in this situation. You can add a console.log statement in the render() function of the i18n module to verify multiple renders.
Thanks for your help and apologies in advance of any of this is normal behavior.
The text was updated successfully, but these errors were encountered: