Skip to content

armgit / eve

Public Imported from GitHub
0

The Open Framework for Building Agents

351 B
Raw Blame
export const defaultLanguage = "en" as const;

export const translations = {
  [defaultLanguage]: {
    displayName: "English",
  },
};

export const supportedLanguages = Object.freeze(Object.keys(translations));

export const isSupportedLanguage = (language: string): language is keyof typeof translations =>
  Object.hasOwn(translations, language);