UNPKG

i18n-ai-translate

Version:

Use LLMs to translate your i18n JSON to any language.

29 lines (28 loc) 851 B
export declare const DEFAULT_BATCH_SIZE = 32; export declare const DEFAULT_REQUEST_TOKENS = 4096; export declare const VERSION = "4.1.2"; export declare const DEFAULT_TEMPLATED_STRING_PREFIX = "{{"; export declare const DEFAULT_TEMPLATED_STRING_SUFFIX = "}}"; export declare const FLATTEN_DELIMITER = "*"; export declare const DEFAULT_MODEL: { chatgpt: string; gemini: string; ollama: string; claude: string; }; export declare const RETRY_ATTEMPTS = 25; export declare const CLI_HELP: { BatchSize: string; DryRun: string; Engine: string; EnsureChangedTranslation: string; MaxTokens: string; Model: string; OllamaHost: string; OverridePromptFile: string; PromptMode: string; RateLimit: string; SkipStylingVerification: string; SkipTranslationVerification: string; Verbose: string; };