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.
12 lines (11 loc) • 504 B
TypeScript
import type CheckOptions from "./interfaces/check_options";
import type { CheckReport } from "./interfaces/check_options";
/**
* Validate an already-translated target file against its source by
* running the verification pipeline without the preceding translation
* step. Returns a report listing every key the model flagged as
* incorrect, along with a suggested correction where available.
*
* No files are written.
*/
export declare function check(options: CheckOptions): Promise<CheckReport>;