feat: add next-international translations (#2)
* feat: add next-international translations * chore: fix formatting * chore: address pull request feedback
This commit is contained in:
1 parent
3cedb7fba5
commit
a082f70470
24 files changed
+290
-27
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { createI18nMiddleware } from "next-international/middleware";
|
||||
|
||||
import { defaultLocale, supportedLanguages } from ".";
|
||||
|
||||
export const I18nMiddleware = createI18nMiddleware({
|
||||
locales: supportedLanguages,
|
||||
defaultLocale,
|
||||
urlMappingStrategy: "rewrite",
|
||||
});
|
||||
Reference in new issue
Block a user