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.

23 lines (19 loc) 452 B
import type Options from "./options"; export default interface CheckOptions extends Options { inputLanguageCode: string; outputLanguageCode: string; inputJSON: Object; targetJSON: Object; } export type CheckIssue = { key: string; original: string; translated: string; issue: string; suggestion?: string; }; export type CheckReport = { languageCode: string; totalKeys: number; issues: CheckIssue[]; };