Add next-intl to internationalize our project
This commit is contained in:
7
next-intl.config.js
Normal file
7
next-intl.config.js
Normal file
@@ -0,0 +1,7 @@
|
||||
/** @type {import('next-intl').NextIntlConfig} */
|
||||
module.exports = {
|
||||
locales: ['en', 'de', 'ru'],
|
||||
defaultLocale: 'en',
|
||||
// Directory where your message JSON files live
|
||||
messagesDirectory: './messages'
|
||||
};
|
||||
Reference in New Issue
Block a user