configured localization

This commit is contained in:
2024-02-16 15:46:48 +01:00
parent fdea05d4e3
commit 64bd026d46
5 changed files with 53 additions and 6 deletions

View File

@@ -1,3 +1,5 @@
import createNextIntlPlugin from 'next-intl/plugin';
/** @type {import('next').NextConfig} */
const nextConfig = {
// Possible options:
@@ -16,4 +18,9 @@ const nextConfig = {
}
};
module.exports = nextConfig;
const withNextIntl = createNextIntlPlugin();
const nextConfigIntl = withNextIntl(nextConfig);
export default nextConfigIntl;
// module.exports = nextConfigIntl;