Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/lib/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ i18n
.init({
lng: locale,
fallbackLng: 'en',
// Keep an existing default namespace: without it i18next requests the
// non-existent `translation.json`, which leaves the packaged Electron app blank.
ns: ['common'],
defaultNS: 'common',
debug: true,
interpolation: {
escapeValue: false, // not needed for react as it escapes by default
Expand Down
Loading