Rename all MOKOJOOMCROSS language keys to MOKOSUITECROSS #128

Open
opened 2026-06-21 15:48:59 +00:00 by jmiller · 0 comments
Owner

Summary

All Joomla language string keys still use the old MOKOJOOMCROSS prefix. The directory/file structure, PHP namespaces, class names, and SQL table names have been successfully renamed to mokosuitecross, but the language key constants were not updated.

Scope

1,151 total occurrences across the source tree:

File Type Count Examples
.ini language files 615 COM_MOKOJOOMCROSS_DASHBOARD_TITLE, PLG_MOKOJOOMCROSS_BLUESKY_DESCRIPTION
.xml form/manifest files 365 label="COM_MOKOJOOMCROSS_CONFIG_AUTO_POST", description="PKG_MOKOJOOMCROSS_DESCRIPTION"
.php source files 171 Text::_('COM_MOKOJOOMCROSS_...'), PLG_TASK_MOKOJOOMCROSS_PROCESS_QUEUE

Key areas

  • source/packages/com_mokosuitecross/language/en-GB/com_mokosuitecross.ini — 351 keys
  • source/packages/com_mokosuitecross/config.xml — all fieldset/field labels
  • source/packages/com_mokosuitecross/tmpl/template/edit.php — placeholder reference table
  • source/packages/plg_task_mokosuitecross/src/Extension/MokoSuiteCrossTask.php:42PLG_TASK_MOKOJOOMCROSS_PROCESS_QUEUE
  • All 30+ service plugin .ini and .xml files
  • source/script.phpPKG_MOKOJOOMCROSS_PHP_VERSION_ERROR, PKG_MOKOJOOMCROSS_MIGRATION_DETECTED
  • source/packages/plg_content_mokosuitecross/src/Extension/MokoSuiteCrossContent.phpPLG_CONTENT_MOKOJOOMCROSS_*

Approach

Global find-and-replace:

  • COM_MOKOJOOMCROSS_COM_MOKOSUITECROSS_
  • PLG_MOKOJOOMCROSS_PLG_MOKOSUITECROSS_
  • PLG_CONTENT_MOKOJOOMCROSS_PLG_CONTENT_MOKOSUITECROSS_
  • PLG_SYSTEM_MOKOJOOMCROSS_PLG_SYSTEM_MOKOSUITECROSS_
  • PLG_TASK_MOKOJOOMCROSS_PLG_TASK_MOKOSUITECROSS_
  • PLG_WEBSERVICES_MOKOJOOMCROSS_PLG_WEBSERVICES_MOKOSUITECROSS_
  • PKG_MOKOJOOMCROSS_PKG_MOKOSUITECROSS_

Both the .ini key definitions AND every .php/.xml reference must be updated simultaneously to avoid broken translations.

Acceptance Criteria

  • grep -ri mokojoomcross source/ returns zero results
  • All admin views load without missing language string warnings
  • All service plugin descriptions display correctly in Extension Manager
## Summary All Joomla language string keys still use the old `MOKOJOOMCROSS` prefix. The directory/file structure, PHP namespaces, class names, and SQL table names have been successfully renamed to `mokosuitecross`, but the language key constants were not updated. ## Scope **1,151 total occurrences** across the source tree: | File Type | Count | Examples | |-----------|-------|---------| | `.ini` language files | 615 | `COM_MOKOJOOMCROSS_DASHBOARD_TITLE`, `PLG_MOKOJOOMCROSS_BLUESKY_DESCRIPTION` | | `.xml` form/manifest files | 365 | `label="COM_MOKOJOOMCROSS_CONFIG_AUTO_POST"`, `description="PKG_MOKOJOOMCROSS_DESCRIPTION"` | | `.php` source files | 171 | `Text::_('COM_MOKOJOOMCROSS_...')`, `PLG_TASK_MOKOJOOMCROSS_PROCESS_QUEUE` | ### Key areas - `source/packages/com_mokosuitecross/language/en-GB/com_mokosuitecross.ini` — 351 keys - `source/packages/com_mokosuitecross/config.xml` — all fieldset/field labels - `source/packages/com_mokosuitecross/tmpl/template/edit.php` — placeholder reference table - `source/packages/plg_task_mokosuitecross/src/Extension/MokoSuiteCrossTask.php:42` — `PLG_TASK_MOKOJOOMCROSS_PROCESS_QUEUE` - All 30+ service plugin `.ini` and `.xml` files - `source/script.php` — `PKG_MOKOJOOMCROSS_PHP_VERSION_ERROR`, `PKG_MOKOJOOMCROSS_MIGRATION_DETECTED` - `source/packages/plg_content_mokosuitecross/src/Extension/MokoSuiteCrossContent.php` — `PLG_CONTENT_MOKOJOOMCROSS_*` ## Approach Global find-and-replace: - `COM_MOKOJOOMCROSS_` → `COM_MOKOSUITECROSS_` - `PLG_MOKOJOOMCROSS_` → `PLG_MOKOSUITECROSS_` - `PLG_CONTENT_MOKOJOOMCROSS_` → `PLG_CONTENT_MOKOSUITECROSS_` - `PLG_SYSTEM_MOKOJOOMCROSS_` → `PLG_SYSTEM_MOKOSUITECROSS_` - `PLG_TASK_MOKOJOOMCROSS_` → `PLG_TASK_MOKOSUITECROSS_` - `PLG_WEBSERVICES_MOKOJOOMCROSS_` → `PLG_WEBSERVICES_MOKOSUITECROSS_` - `PKG_MOKOJOOMCROSS_` → `PKG_MOKOSUITECROSS_` Both the `.ini` key definitions AND every `.php`/`.xml` reference must be updated simultaneously to avoid broken translations. ## Acceptance Criteria - [ ] `grep -ri mokojoomcross source/` returns zero results - [ ] All admin views load without missing language string warnings - [ ] All service plugin descriptions display correctly in Extension Manager
Sign in to join this conversation.
No labels
Priority Medium
Type Feature
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MokoConsulting/MokoSuiteCross#128