WP Manifestindependent plugin directory
manifest / i18n / coco-multilingual-wordpress-plugin

Coco Multilingual Groups

Coco Multilingual Groups provides a modern, lightweight way to manage multilingual pages and posts in WordPress. Create translation groups, assign locales, sync homepage variants, and quickly create missing translations — including a powerful Clone From Group option that duplicates layout, blocks, meta fields, and taxonomies from an existing locale

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/adikica/coco-multilingual-wordpress-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

A modern multilingual management plugin for WordPress.
Designed for agencies and advanced developers who want full control over multilingual content, translation groups, locale-aware routing, and clean editorial workflows — without relying on heavy translation suites.


🚀 Features

🧩 Translation Groups

  • Group pages, posts, and custom post types under a single “translation group”
  • Each group contains one post per locale (e.g. EN, IT, FR, DE)
  • Perfect for custom themes, headless apps, and clean multilingual architectures

🔤 Locale Management

  • Store locale via _coco_locale (e.g. en, it, fr)
  • Store group link via _coco_group_id
  • Optional: mark a group as the “homepage group” for automatic locale home routing

🧱 Create Missing Translations

Inside the multilingual admin screen you can:

✔ Create a blank post for the missing locale
✔ Move an existing post into the group
✔ NEW: Clone From Group – duplicate an existing translation

  • Copies title, content, excerpt
  • Copies ACF fields and post meta
  • Copies taxonomies
  • Auto-generates a unique slug (e.g. /contact-us-fr/)
  • Assigns it to the correct group + locale
  • Saves as draft for editing

This allows you to build new translations fast while keeping the same layout and structure.

🏡 Homepage Locale Routing

  • Detect requests to /
  • Serve the correct page for your default locale
  • Prevent duplicate homepage URLs (e.g. /en/home/ → /)
  • SEO-safe redirects for translated homepage slugs

🧭 Language Switcher Shortcode

A developer-friendly shortcode:

Outputs a locale-aware language dropdown or inline switcher using your theme.

🧱 Developer-First Architecture

  • PHP 8.3+
  • Namespaces + autoloading
  • No legacy WPML/Polylang dependencies
  • Clean separation of admin, frontend, and routing logic
  • Easy to integrate with custom themes, block themes, and headless setups

🆕 What’s New

✨ Clone From Group (vX.X)

You can now create a missing translation by cloning an existing locale inside the same group.

This clones:

  • Title
  • Content (HTML + blocks)
  • Excerpt
  • Meta fields (except internal editor keys)
  • ACF fields
  • Taxonomies
  • Menu order / parents

Then assigns:

  • Correct _coco_group_id
  • Correct _coco_locale
  • New unique slug
  • Draft status

This gives you identical layout + structure → ready for your manual translation.

(AI-assisted translation will be added as a separate module later.)


🔧 How It Works

The plugin provides:

  • Admin screen: /wp-admin/admin.php?page=coco-groups-page
  • Group table for each post type
  • One row per group
  • One column per locale

Each cell shows one of:

  • Published (with Edit / View)
  • Draft (with Edit)
  • Missing (with Create, Move, Clone)

📦 Installation

Manual

  1. Upload the plugin folder to
    /wp-content/plugins/coco-multilingual-groups/
  2. Activate the plugin
  3. Configure your locales in Settings → Coco Multilingual

Composer


composer require coco/multilingual-groups

###  Requirements
WordPress 6.7+
PHP 8.3+
Custom theme or block theme recommended