mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-18 20:14:44 +08:00
* fix(i18n): guard locale input and add safe translation fallback * refactor(i18n): isolate locale utils and normalize server cookie decode --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
12 lines
287 B
TypeScript
12 lines
287 B
TypeScript
export { enUS } from "./locales/en-US";
|
|
export { zhCN } from "./locales/zh-CN";
|
|
export type { Translations } from "./locales/types";
|
|
export {
|
|
DEFAULT_LOCALE,
|
|
SUPPORTED_LOCALES,
|
|
detectLocale,
|
|
isLocale,
|
|
normalizeLocale,
|
|
} from "./locale";
|
|
export type { Locale } from "./locale";
|