Skip to content

Commit

Permalink
Fix translations on Vercel (#409)
Browse files Browse the repository at this point in the history
Translations are not shown properly in vercel, fix:
i18next/next-i18next#1552 (comment)
  • Loading branch information
evroon authored Jan 17, 2024
1 parent 4f45ba6 commit 5d54964
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions frontend/next-i18next.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/** @type {import('next-i18next').UserConfig} */
const path = require('path');
module.exports = {
i18n: {
locales: ['en', 'zh-CN'],
defaultLocale: 'en',
localePath: path.resolve('./public/locales')
},
};

1 comment on commit 5d54964

@vercel
Copy link

@vercel vercel bot commented on 5d54964 Jan 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.