Skip to content

Commit c13d5f4

Browse files
authored
Merge pull request #1491 from oruburos/i18n_copy_webpack
Webpack config in dev and prod include copywebpack for static transla…
2 parents afe74e9 + c31a65a commit c13d5f4

File tree

6 files changed

+483
-23
lines changed

6 files changed

+483
-23
lines changed

Diff for: client/i18n.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const fallbackLng = ['en-US'];
77
const availableLanguages = ['en-US', 'es-419'];
88

99
const options = {
10-
loadPath: '/translations/{{lng}}/translations.json',
10+
loadPath: 'locales/{{lng}}/translations.json',
1111
requestOptions: { // used for fetch, can also be a function (payload) => ({ method: 'GET' })
1212
mode: 'no-cors'
1313
},

0 commit comments

Comments
 (0)