import en from './translation.en.json'; import fr from './translation.fr.json'; export const translations: Record> = { en, fr }; // Use languageOptions to restrict existing dictionary // and create a select input export const languageOptions: Record = { en: 'English', fr: 'French' };