-
-
Notifications
You must be signed in to change notification settings - Fork 764
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,6 @@ export const defaultConfig = { | |
get initImmediate(): boolean { | ||
return process.browser && typeof window !== 'undefined' | ||
}, | ||
interpolation: { | ||
escapeValue: false, | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
isaachinman
Author
Contributor
|
||
format: (value: string, format: string): string => (format === 'uppercase' ? value.toUpperCase() : value), | ||
formatSeparator: ',', | ||
}, | ||
load: 'currentOnly', | ||
localeExtension: LOCALE_EXTENSION, | ||
localePath: LOCALE_PATH, | ||
|
1 comment
on commit bf1f608
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
did you remove the escapeValue intentionally? default in i18next is true: https://github.com/i18next/i18next/blob/master/src/defaults.js#L54
but for react default is better to be set to false: https://github.com/i18next/react-i18next/blob/master/example/react/src/i18n.js#L22