Skip to content

Commit 625a145

Browse files
committed
Fallback to default language for empty strings
Use the default language strings for keys which have empty values in the translation file. ( i.e. when the translation file is incomplete )
1 parent e449ddf commit 625a145

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/internationalization.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const initialize = () =>
3636
nestingPrefix: '$tr(',
3737
nestingSuffix: ')',
3838
defaultNS: 'translation',
39+
returnEmptyString: false,
3940
interpolation: {
4041
escapeValue: false
4142
},

0 commit comments

Comments
 (0)