i18n-ai-translate
Version:
Use LLMs to translate your i18n JSON to any language.
18 lines (16 loc) • 516 B
text/typescript
import type Chats from "./chats";
import type OverridePrompt from "./override_prompt";
export default interface GenerateTranslationOptions {
chats: Chats;
inputLanguage: string;
outputLanguage: string;
input: string;
keys: Array<string>;
templatedStringPrefix: string;
templatedStringSuffix: string;
verboseLogging: boolean;
ensureChangedTranslation: boolean;
skipTranslationVerification: boolean;
skipStylingVerification: boolean;
overridePrompt?: OverridePrompt;
}