mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-18 18:41:51 +02:00
Add czech locale (#339)
This commit is contained in:
parent
2092fa639b
commit
0280489e22
8 changed files with 212 additions and 15 deletions
|
@ -2,20 +2,21 @@ import languageParser from "accept-language-parser";
|
|||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
const supportedLocales = [
|
||||
"en",
|
||||
"es",
|
||||
"cs",
|
||||
"da",
|
||||
"de",
|
||||
"en",
|
||||
"es",
|
||||
"fr",
|
||||
"hu",
|
||||
"it",
|
||||
"ko",
|
||||
"nl",
|
||||
"sv",
|
||||
"hu",
|
||||
"zh",
|
||||
"pt",
|
||||
"pt-BR",
|
||||
"pl",
|
||||
"pt-BR",
|
||||
"pt",
|
||||
"sv",
|
||||
"zh",
|
||||
];
|
||||
|
||||
export function middleware({ headers, cookies, nextUrl }: NextRequest) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue