Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

399 B
Raw Blame
import { getTranslations } from "next-intl/server";

import type { SupportedLanguage } from "./config";
import type englishTranslation from "./lang/en.json";

declare module "next-intl" {
  interface AppConfig {
    Messages: typeof englishTranslation;
    Locale: SupportedLanguage;
  }
}

export const getI18n = getTranslations;

export { getMessages as getI18nMessages } from "next-intl/server";