J3 Issue ?
avatar astridx
astridx
8 Sep 2019

It's not an important question, but I'm interested. Why is the name of the component in the XML file always lowercase? For example here:

As a language string it should have to be capitalized, right? Is there a reason I do not see or has grown historically?

avatar astridx astridx - open - 8 Sep 2019
avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 8 Sep 2019
avatar astridx astridx - change - 8 Sep 2019
The description was changed
avatar astridx astridx - edited - 8 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 9 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2019
Status New Discussion
avatar infograf768
infograf768 - comment - 9 Sep 2019

Grown historically.
In 1.5, it was not translatable. We had for example:

<install type="component" version="1.0.0">
<name>Module Manager</name>
<author>Joomla! Project</author>

In 1.6 was introduced the Translation of the extensions name and, logically, lowercase was used and strtoupper in the JText for core extensions.

<?xml version="1.0" encoding="utf-8"?>
<!-- $Id: modules.xml 20196 2011-01-09 02:40:25Z ian $ -->
<extension type="component" version="1.6.0" method="upgrade">
	<name>com_modules</name>
	<author>Joomla! Project</author>

I am closing this as it is not a bug. ;)

avatar infograf768 infograf768 - change - 9 Sep 2019
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2019-09-09 10:32:56
Closed_By infograf768
avatar infograf768 infograf768 - close - 9 Sep 2019
avatar astridx
astridx - comment - 9 Sep 2019

@infograf768 Many thanks.

Add a Comment

Login with GitHub to post a comment