WP Manifestindependent plugin directory
manifest / i18n / mm-ai-multilang

MM AI Multilang

AI-powered multilingual post translation for WordPress.

by MM · github.com/itcomindo/mm-ai-multilang

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/itcomindo/mm-ai-multilang/archive/refs/heads/main.zip

Readme

MM AI Multilang

Production-grade deterministic multilingual engine for WordPress.


Features

  • Deterministic DOM-based translation
  • ID-based relational mapping
  • Async background translation
  • AI cost-optimized caching
  • Smart geo redirect (without Cloudflare dependency)
  • Dynamic rewrite engine
  • SEO-safe hreflang integration
  • Translation lifecycle management
  • Category multilingual (name + description)
  • Manual override support
  • Zero slug-based routing
  • Server agnostic

Architecture

Translation Engine

  • HTML parsed via DOMDocument
  • Text nodes extracted
  • AI receives ordered array
  • Must return ordered array
  • HTML structure controlled by PHP

Database Tables

  • wp_mm_translations
  • wp_mm_ai_cache

Deterministic Guarantees

  • No random output
  • No slug-based detection
  • ID-based routing only

Redirect Behavior

  • Default language: no prefix
  • Other languages: dynamic prefix
  • User preference cookie respected
  • No infinite loops
  • Manual override respected

Taxonomy Support

Category

  • Multilingual name
  • Multilingual description
  • Slug unchanged
  • AI assist optional

Requirements

  • WordPress 6+
  • PHP 7.4+
  • OpenAI or Claude API key
  • Pretty permalinks enabled

Development Philosophy

  • Performance first
  • Modular phases
  • No bloat
  • WPCS strict
  • Deterministic design

Read the full README on GitHub →