createTranslation is a function that allows you to specify your translations.
createTranslation
const translations = createTranslation<Translations>(() => ({ en: { Greeting: () => "Hello world!", }, de: { Greeing: () => "Hallo Welt!", },}));
const createTranslation: <L extends LanguageCode>({ languageSelector,}: CreateTranslationConfig<L>) => <K extends object>( translationThunk: TranslationThunk<L, K>,) => CreateTranslationReturn<L, K>;