UNPKG

i18n-ai-translate

Version:

AI-powered localization CLI, Node library, and GitHub Action. Translate i18next JSON, Gettext PO, Java .properties, and iOS .strings with ChatGPT, Claude, Gemini, or local Ollama models.

16 lines (14 loc) 492 B
import type DryRun from "./dry_run"; import type Options from "./options"; export default interface TranslateFileOptions extends Options { inputFilePath: string; outputFilePath: string; dryRun?: DryRun; forceLanguageName?: string; /** * Format adapter name (e.g. `"json"`). When unset, the adapter is * inferred from the input file's extension. Unknown extensions fall * back to the JSON adapter for backwards compatibility. */ format?: string; }