I need to have different translation for admin contact menu component: the main name and the sub-name need to be different. Joomla uses the same string for both names. The string that should be used for this is not in use even if is present in the language string.
com_contact.sys.ini
https://github.com/joomla/joomla-cms/blob/master/administrator/language/en-GB/en-GB.com_contact.sys.ini
COM_CONTACT="Contacts"
COM_CONTACT_CONTACTS="Contacts"
(this one is not in use, only the first one - tested by changing values! )
Please follow the way it works for com_newsfeeds.sys.ini
COM_NEWSFEEDS="News Feeds"
COM_NEWSFEEDS_FEEDS="Feeds"
Took some time to find out...
The issue is in the database...
The string com_contact_contacts
(in the sys.ini) should be the title of the menu
Therefore we have to change joomla.sql
from
(8, 'menu', 'com_contact', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1),
to
(8, 'menu', 'com_contact_contacts', 'Contacts', '', 'Contacts/Contacts', 'index.php?option=com_contact', 'component', 0, 7, 2, 8, 0, '0000-00-00 00:00:00', 0, 0, 'class:contact', 0, '', 12, 13, 0, '*', 1),
and update existing dbs for next release.
Labels |
Added:
?
|
Closing as we have a Patch by @infograf768
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-10-30 11:55:00 |
Closed_By | ⇒ | zero-24 |
I confirm the issue.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/8200.