Files
certimate/ui/src/i18n/locales/index.ts
2025-01-02 10:28:18 +08:00

21 lines
383 B
TypeScript

import { type Resource } from "i18next";
import en from "./en";
import zh from "./zh";
export const LOCALE_ZH_NAME = "zh" as const;
export const LOCALE_EN_NAME = "en" as const;
const resources: Resource = {
[LOCALE_ZH_NAME]: {
name: "简体中文",
translation: zh,
},
[LOCALE_EN_NAME]: {
name: "English",
translation: en,
},
};
export default resources;