Created
November 25, 2023 23:23
-
-
Save FrancisGregori/2c151df678fe8f3a5fbf792d9369cec0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { getRequestConfig } from 'next-intl/server'; | |
export default getRequestConfig(async ({ locale }) => ({ | |
messages: (await import(`./dictionaries/${locale}.json`)).default, | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment