Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
1 change: 0 additions & 1 deletion public/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
},
"files": "Project files",
"images": "Image gallery",
},
"newFileButton": "Add file",
"newFileModal": {
"cancel": "Cancel",
Expand Down
4 changes: 3 additions & 1 deletion src/utils/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ i18n
interpolation: {
escapeValue: false, // not needed for react!!
},
backend: { loadPath: "/translations/{{lng}}.json" },
backend: {
loadPath: `${process.env.PUBLIC_URL}/translations/{{lng}}.json`,
},
});

export default i18n;
Loading