UNPKG

@restnfeel/agentc-starter-kit

Version:

한국어 기업용 CMS 모듈 - Task Master AI와 함께 빠르게 웹사이트를 구현할 수 있는 재사용 가능한 컴포넌트 시스템

50 lines 1.56 kB
export interface ChatbotTranslations { chatbot: string; minimize: string; maximize: string; close: string; send: string; typing: string; placeholder: string; offline: string; connecting: string; connected: string; retry: string; welcomeTitle: string; welcomeMessage: string; suggestedQuestions: string; noSuggestedQuestions: string; errorGeneric: string; errorNetwork: string; errorTimeout: string; helpful: string; notHelpful: string; feedbackThanks: string; messageDelivered: string; messageFailed: string; openChat: string; closeChat: string; sendMessage: string; messageFromUser: string; messageFromBot: string; } export declare const translations: Record<string, ChatbotTranslations>; export interface LanguageInfo { code: string; name: string; nativeName: string; direction: "ltr" | "rtl"; flag: string; } export declare const languages: Record<string, LanguageInfo>; export type SupportedLanguage = keyof typeof translations; export declare const DEFAULT_LANGUAGE: SupportedLanguage; export declare function detectBrowserLanguage(): SupportedLanguage; export declare function t(key: keyof ChatbotTranslations, lang: SupportedLanguage): string; export declare function isRTL(language: SupportedLanguage): boolean; export declare function adjustTextLength(text: string, language: SupportedLanguage): { isTruncated: boolean; displayText: string; maxLength: number; }; //# sourceMappingURL=i18n-config.d.ts.map