mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-02 01:20:23 +08:00
Add full Traditional Chinese support for Hong Kong/Taiwan users by creating a zh-Hant dictionary and registering the locale across the web app, metadata, and Electron desktop menu system.
7 lines
157 B
TypeScript
7 lines
157 B
TypeScript
export const i18n = {
|
|
defaultLocale: "en",
|
|
locales: ["en", "zh", "ja", "zh-Hant"],
|
|
} as const
|
|
|
|
export type Locale = (typeof i18n)["locales"][number]
|