Files
wishlist/src/lib/i18n/translations/index.ts
2026-03-15 21:02:57 +00:00

16 lines
317 B
TypeScript

import { en } from './en';
import { da } from './da';
import type { Translation } from './en';
export const translations: Record<string, Translation> = {
en,
da
};
export const languages = [
{ code: 'en', name: 'English' },
{ code: 'da', name: 'Dansk' }
] as const;
export type LanguageCode = 'en' | 'da';