UNPKG

i18n-ai-translate

Version:

Use LLMs to translate your i18n JSON to any language.

18 lines (16 loc) 574 B
import type { TranslateItem } from "../generate_json/types"; import type Chats from "./chats"; import type OverridePrompt from "./override_prompt"; export default interface GenerateTranslationOptionsJSON { chats: Chats; inputLanguage: string; outputLanguage: string; translateItems: TranslateItem[]; templatedStringPrefix: string; templatedStringSuffix: string; verboseLogging: boolean; ensureChangedTranslation: boolean; skipTranslationVerification: boolean; skipStylingVerification: boolean; overridePrompt?: OverridePrompt; }