- Add German and Chinese language translations - Update routing configuration to support multiple locales (en, de, zh) - Create new components for locale switching and navigation - Implement dynamic error and not-found pages with internationalized content - Refactor global styles and MDX styling - Update middleware and navigation configuration for improved i18n routing
9 lines
179 B
TypeScript
9 lines
179 B
TypeScript
import en from './messages/en.json';
|
|
|
|
type Messages = typeof en;
|
|
|
|
declare global {
|
|
// Use type safe message keys with `next-intl`
|
|
interface IntlMessages extends Messages {}
|
|
}
|