Skip to content

Commit

Permalink
fix(frontend): resolve path to static files of translations
Browse files Browse the repository at this point in the history
  • Loading branch information
the-homeless-god committed Sep 2, 2024
1 parent 2c6a506 commit 5eda97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/frontend/src/locales/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import I18NextHttpBackend from "i18next-http-backend"

const i18nInstance = createInstance({
backend: {
loadPath: `${CONFIG.basename}/public/locales/{{ns}}/{{lng}}.json`,
loadPath: `/locales/{{ns}}/{{lng}}.json`,
},
fallbackLng: "ru",
interpolation: {
Expand Down

0 comments on commit 5eda97e

Please sign in to comment.