0
0
mirror of https://github.com/yude-jp/yude.jp synced 2024-12-23 04:30:11 +09:00
yude.jp/next.config.js

12 lines
373 B
JavaScript
Raw Normal View History

2021-02-06 14:30:05 +09:00
const nextTranslate = require('next-translate')
module.exports = nextTranslate({
2021-02-06 14:05:36 +09:00
i18n: {
// These are all the locales you want to support in
// your application
locales: ['ja-JP', 'en-US'],
// This is the default locale you want to be used when visiting
// a non-locale prefixed path e.g. `/hello`
defaultLocale: 'ja-JP',
2021-02-06 02:48:22 +09:00
}
2021-02-06 14:30:05 +09:00
})