?
Referenced as Pull Request for: # 8212
avatar horus68
horus68
29 Oct 2015

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! )
2015-10-29 13_19_27-000349-fotografias

Please follow the way it works for com_newsfeeds.sys.ini
COM_NEWSFEEDS="News Feeds"
COM_NEWSFEEDS_FEEDS="Feeds"
2015-10-29 13_19_44-000350-fotografias

avatar horus68 horus68 - open - 29 Oct 2015
avatar teccrow
teccrow - comment - 29 Oct 2015

I confirm the issue.


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

avatar infograf768
infograf768 - comment - 30 Oct 2015

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

I modified the db
screen shot 2015-10-30 at 09 23 31

and obtained
screen shot 2015-10-30 at 09 24 42

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.

avatar infograf768
infograf768 - comment - 30 Oct 2015

Patch is here:
#8212

avatar zero-24 zero-24 - change - 30 Oct 2015
Labels Added: ?
avatar zero-24
zero-24 - comment - 30 Oct 2015

Closing as we have a Patch by @infograf768

avatar zero-24 zero-24 - change - 30 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-30 11:55:00
Closed_By zero-24
avatar zero-24 zero-24 - close - 30 Oct 2015

Add a Comment

Login with GitHub to post a comment