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.

29 lines (26 loc) 640 B
// #!/usr/bin/env node /* eslint-disable import/no-import-module-exports */ import { check } from "./check"; import { createCache, loadCache, saveCache } from "./cache"; import { loadGlossary } from "./glossary"; import { translate, translateDiff } from "./translate"; export { check, createCache, loadCache, loadGlossary, saveCache, translate, translateDiff, }; export type { TranslationCache } from "./cache"; export type { default as Glossary } from "./interfaces/glossary"; module.exports = { check, createCache, loadCache, loadGlossary, saveCache, translate, translateDiff, };