← All 13 Plugins

Glossa

Multilingual Framework

Γλῶσσα (Glôssa) — Tongue, language, speech. In Greek, Glôssa is both the organ of speech and the living language itself, representing expression, discourse, and translation.

Category: Core Architecture Version: 1.0.0 Requirements: PHP 8.2+ · WP 6.2+ Runtime: Sub-ms junction index · 0 cookie sessions

Overview

Glossa (Greek for tongue or language) is a highly optimized, enterprise-ready multilingual framework designed specifically for professional WordPress developers utilizing custom themes and Advanced Custom Fields (ACF). Unlike legacy utilities (WPML, Polylang), Glossa introduces zero taxonomy bloat, relies on an optimized relational lookup index, and avoids execution loops. It is architected for setups executing strict full-page caching profiles (such as Nginx FastCGI).

Architectural Rationale: Legacy translation plugins (WPML, Polylang) clutter the core wp_terms table with synthetic taxonomies, perform recursive SQL queries, and set user session cookies that break full-page NGINX FastCGI caching. Glossa is built from scratch for custom theme engineering with a dedicated indexed junction table, zero taxonomy clutter, and 100% cookie-less URL routing.

Key Features

  • Relational Indexing

    Uses dedicated junction table wp_glossa_translations to resolve translations in a single sub-millisecond query.

  • Zero Media Disk Bloat

    Translates media metadata (alt, caption, title) through lightweight virtual attachments without duplicating files on disk.

  • Unified Menu Management

    Translate menus seamlessly in one interface with global theme location synchronizing.

  • Granular ACF Synchronization

    Fine-tune translation mode per field (Sync, Copy, Translate) and isolate ACF Options pages per locale.

  • O(1) Hardcoded String Engine

    Translates hardcoded theme strings instantly from memory without file I/O or redundant database trips.

  • AI Auto-Pilot Engine

    Automated translation pipelines compatible with modern LLMs and the WordPress Abilities API.

  • Strict Cache Friendly

    Works flawlessly with Nginx FastCGI, Cloudflare, and varnish full-page caching without session cookies.

  • WP-CLI Reference

    Full command-line suite for string compilation, language switching, and database indexing.

Technical Specifications

Minimum PHP PHP 8.2+ (strict types, match expressions, enums)
Database wp_glossa_translations, wp_glossa_strings (indexed relational tables)
Caching Support 100% Nginx FastCGI cache compatible (zero session cookies)
WP-CLI wp glossa string-scan | wp glossa sync-acf
ACF Matrix Ignore, Translate Once, Copy Once, Synchronise

Developer Integration

// Retrieve translation context with sub-millisecond resolution
use Glossa\API;

$en_post_id = API::get_translation($post_id, 'en');
$current_lang = API::get_current_language(); // 'de' | 'en'
WP-CLI: $ wp glossa sync-acf --field-group=group_hero

Deployment Notes

ACF Options pages can be isolated per locale by default, or prefixed with global_ to share settings across all languages.