Add translation values to activity log output
This commit is contained in:
parent
06427f8d13
commit
4d30cc9e7e
4 changed files with 25 additions and 5 deletions
|
@ -19,7 +19,8 @@ i18n
|
|||
backend: {
|
||||
backend: I18NextHttpBackend,
|
||||
backendOption: {
|
||||
loadPath: `/locales/locale.json?locale={{lng}}&namespace={{ns}}&hash=${hash}`,
|
||||
loadPath: '/locales/locale.json?locale={{lng}}&namespace={{ns}}',
|
||||
queryStringParams: { hash },
|
||||
allowMultiLoading: true,
|
||||
} as BackendOptions,
|
||||
} as Record<string, any>,
|
||||
|
@ -30,6 +31,4 @@ i18n
|
|||
},
|
||||
});
|
||||
|
||||
i18n.loadNamespaces([ 'validation' ]).catch(console.error);
|
||||
|
||||
export default i18n;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue