Azure/co-op-translator

Keep Markdown, Jupyter notebooks, and image text translated as your repository changes.

What it solves

Keeping multilingual documentation synchronized is a major challenge for open-source projects. When source files change, existing translations often become stale or broken. This project automates the process of updating translations while preserving the original Markdown structure, code blocks, and relative links, ensuring that translated versions remain accurate and navigable.

How it works

It scans your repository to identify new or modified source files using language-scoped metadata. It then uses AI models (via Azure OpenAI, OpenAI, or Anthropic) to translate the content. The tool is designed to be "structure-aware," meaning it protects your formatting and URLs during the translation process. It also supports translating text within images and Jupyter notebooks, and can be integrated into CI/CD pipelines via GitHub Actions or used as an MCP server for agentic workflows.

Who it’s for

This tool is ideal for maintainers of technical documentation, educational repositories, or software projects who need to support multiple languages without manually tracking every update to their source files.

Highlights

  • Incremental Updates: Uses source hashes to detect and update only the content that has changed, saving time and API costs.
  • Structure Preservation: Protects Markdown formatting, code blocks, and internal links from being corrupted by the translation process.
  • Multimodal Support: Capable of translating Markdown, Jupyter notebooks, and text embedded within images.
  • Flexible Integration: Offers a CLI, Python API, containerized execution, and GitHub Actions support for automated translation workflows.

Related

  • Project
  • Project
  • Project
  • Project