Free & Open-Source Invoice Generator - No Sign-Up, No Ads, Instant PDF Export, 100% In-Browser, and Fully Customizable Templates.
TypeScript fintechinvoiceinvoice-generatorinvoice-pdfinvoice-templateinvoicesnextjsopen-sourcequotesreactreact-pdf-rendererself-hostedshadcn-uitailwindcsstypescript
import { defineRouting } from "next-intl/routing";
import { SUPPORTED_I18N_LOCALES } from "@/app/schema";
const defaultLocaleEN = SUPPORTED_I18N_LOCALES[0];
export const routing = defineRouting({
// A list of all locales that are supported
locales: SUPPORTED_I18N_LOCALES,
// Used when no locale matches
defaultLocale: defaultLocaleEN,
// Add locales to the matcher to support specific patterns
// Configure which paths are not localized
// For the about page, we'll use locale prefixes (handled by pathnames in routing)
localePrefix: "always",
localeDetection: false,
alternateLinks: false,
// Define pathnames for our routes
// pathnames: {
// // "/app": {
// // en: "/app",
// // pl: "/app",
// // },
// },
});