mirror of
https://github.com/yude-jp/yude.jp
synced 2024-12-22 20:20:09 +09:00
18 lines
467 B
JavaScript
18 lines
467 B
JavaScript
const nextTranslate = require('next-translate')
|
|
|
|
module.exports = nextTranslate({
|
|
experimental: {
|
|
darkModeVariant: true
|
|
},
|
|
i18n: {
|
|
// These are all the locales you want to support in
|
|
// your application
|
|
locales: ['ja', 'en'],
|
|
// This is the default locale you want to be used when visiting
|
|
// a non-locale prefixed path e.g. `/hello`
|
|
defaultLocale: 'ja',
|
|
},
|
|
images: {
|
|
domains: ['mackerel.io'],
|
|
},
|
|
}) |