Skip to content

Commit

Permalink
fix(core): Fix error messages containing colon char
Browse files Browse the repository at this point in the history
Fixes #2153.This commit disables the i18next namespace feature, since we do not make use of it, and
it causes any user error messages containing a colon to break when returned via the API.
  • Loading branch information
michaelbromley committed Apr 28, 2023
1 parent d2a0824 commit 2cfc874
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/i18n/i18n.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export class I18nService implements OnModuleInit {
.use(Backend as any)
.use(ICU as any)
.init({
nsSeparator: false,
preload: ['en', 'de', 'ru', 'uk'],
fallbackLng: 'en',
detection: {
Expand Down

0 comments on commit 2cfc874

Please sign in to comment.