UNPKG

@lobehub/chat

Version:

Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.

11 lines (8 loc) 293 B
import { supportLocales } from '@/locales/resources'; export const DEFAULT_LANG = 'en-US'; export const LOBE_LOCALE_COOKIE = 'LOBE_LOCALE'; /** * Check if the language is supported * @param locale */ export const isLocaleNotSupport = (locale: string) => !supportLocales.includes(locale);