fix: include language directory in Joomla package ZIP builds
Generic: Repo Health / Site Health (push) Has been cancelled
Universal: Cascade Main → Dev / Cascade main → branches (push) Has been cancelled
Generic: Repo Health / Access control (push) Has been cancelled
Platform: moko-platform CI / Gate 1: Code Quality (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.1) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.2) (push) Has been cancelled
Platform: moko-platform CI / Gate 2: Unit Tests (8.3) (push) Has been cancelled
Platform: moko-platform CI / Gate 3: Self-Health Check (push) Has been cancelled
Platform: moko-platform CI / Gate 4: Governance (push) Has been cancelled
Platform: moko-platform CI / Gate 5: Template Integrity (push) Has been cancelled
Platform: moko-platform CI / CI Summary (push) Has been cancelled
Generic: Repo Health / Release configuration (push) Has been cancelled
Generic: Repo Health / Scripts governance (push) Has been cancelled
Generic: Repo Health / Repository health (push) Has been cancelled

Package-type extensions reference language files in their manifest
(e.g. language/en-GB/pkg_*.sys.ini) but the build only copied
top-level XML/PHP files. Now also adds the language/ directory.

Authored-by: Moko Consulting
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jonathan Miller
2026-05-26 17:19:07 -05:00
parent a04040533c
commit 6ec2202c6e
+6
View File
@@ -413,6 +413,12 @@ if ($isJoomlaPackage) {
}
}
// Copy language directory (package-level language files referenced in manifest)
if (is_dir("{$sourceDir}/language")) {
addDirToZip($zip, "{$sourceDir}/language", 'language', $excludePatterns);
echo " Language files added from language/\n";
}
$zip->close();
echo "ZIP created: {$zipFile}\n";
} else {