Pending

User tests: Successful: Unsuccessful:

avatar smarta-lab
smarta-lab
7 Nov 2026

The command never loaded lib_joomla, so strings of the installer stayed untranslated in the CLI. A template installed this way got the style title JLIB_INSTALLER_DEFAULT_STYLE instead of " - Default".

Fixes #39267

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

extension:install never loads lib_joomla, so strings of the installer stay
untranslated in the CLI. The command now loads the language file when it starts,
like core:update and update:extensions:check already do.

Testing Instructions

  1. Take the ZIP file of a site template that is not installed yet.
  2. Run php cli/joomla.php extension:install --path=/path/to/template.zip.
  3. Open System > Site Templates Styles and look at the title of the new style.

Actual result BEFORE applying this Pull Request

The title of the style is JLIB_INSTALLER_DEFAULT_STYLE.

Expected result AFTER applying this Pull Request

The title of the style is <template name> - Default.

Link to documentations

Please select:

  • Documentation link for guide.joomla.org:

  • No documentation changes for guide.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar smarta-lab smarta-lab - open - 7 Nov 2026
avatar smarta-lab smarta-lab - change - 7 Nov 2026
Status New ⇒ Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2026
Category ⇒ Libraries
avatar smarta-lab smarta-lab - change - 7 Nov 2026
The description was changed
avatar smarta-lab smarta-lab - edited - 7 Nov 2026
avatar tecpromotion tecpromotion - test_item - 7 Nov 2026 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 7 Nov 2026

I have tested this item ✅ successfully on 61bd90d

Minimal site templates installed via CLI, title of the new style (before = base version of the command):

Command Before After
extension:install --path=… JLIB_INSTALLER_DEFAULT_STYLE <name> - Default
extension:install --url=… – <name> - Default
extension:discover:install JLIB_INSTALLER_DEFAULT_STYLE JLIB_INSTALLER_DEFAULT_STYLE

Suggestion: extension:discover:install has the same bug (the template adapter creates the style for install and discover_install). Adding the same line to ExtensionDiscoverInstallCommand::configureIO() fixes it, tested with and without --eid:

$this->getApplication()->getLanguage()->load('lib_joomla', JPATH_ADMINISTRATOR);
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/48806">issues.joomla.org/tracker/joomla-cms/48806</a>.</sub>
avatar tecpromotion tecpromotion - test_item - 7 Nov 2026 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 7 Nov 2026

I have tested this item ✅ successfully on 61bd90d

Thanks for adding extension:discover:install.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/48806.

Add a Comment

Login with GitHub to post a comment