initial production version
This commit is contained in:
15
src/lib/i18n/translations/index.ts
Normal file
15
src/lib/i18n/translations/index.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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';
|
||||
Reference in New Issue
Block a user