Working state: Serbian at root (/), English at /en, proper i18n structure

This commit is contained in:
Neo
2026-03-04 08:48:13 +00:00
commit cbb49ba64f
51 changed files with 10050 additions and 0 deletions

13
src/middleware.ts Normal file
View File

@@ -0,0 +1,13 @@
import createMiddleware from "next-intl/middleware";
import { defineRouting } from 'next-intl/routing';
const routing = defineRouting({
locales: ['en', 'sr'],
defaultLocale: 'sr'
});
export default createMiddleware(routing);
export const config = {
matcher: ['/((?!api|_next|_vercel|).*)']
};