Files
lemonspace_app/routing.ts
Matthias Meister 79d9092d43 Implement internationalization support across components
- Integrated `next-intl` for toast messages and locale handling in various components, including `Providers`, `CanvasUserMenu`, and `CreditOverview`.
- Replaced hardcoded strings with translation keys to enhance localization capabilities.
- Updated `RootLayout` to dynamically set the language attribute based on the user's locale.
- Ensured consistent user feedback through localized toast messages in actions such as sign-out, canvas operations, and billing notifications.
2026-04-01 18:16:52 +02:00

8 lines
168 B
TypeScript

import { defineRouting } from 'next-intl/routing';
export const routing = defineRouting({
locales: ['de', 'en'],
defaultLocale: 'de',
localePrefix: 'never',
});