?
avatar infograf768
infograf768
20 Mar 2017

Steps to reproduce the issue

Install a default multilingual site with associations.
Among the language installed, use a 3.6.5 pack and set it as default Administrator language.
Enable Debug Language in Global Configuration.
Display the Multilingual Associations component.
Choose article type and a language.

Expected result

As the 3.6.5 pack does not contain the com_associations.ini, a string like
COM_ASSOCIATIONS_HEADING_ASSOCIATION should be displayed in the header of the list as
??COM_ASSOCIATIONS_HEADING_ASSOCIATION??

Actual result

The English value is used which is
COM_ASSOCIATIONS_HEADING_ASSOCIATION="Associations"

Example with Italian pack:
screen shot 2017-03-20 at 09 16 30

avatar infograf768 infograf768 - open - 20 Mar 2017
avatar joomla-cms-bot joomla-cms-bot - change - 20 Mar 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Mar 2017
avatar infograf768 infograf768 - edited - 20 Mar 2017
avatar infograf768
infograf768 - comment - 20 Mar 2017

EDIT:
We have the same issue for other extensions. If no ini file for that extension in the language, it is replaced by en-GB and the strings are marked as translated.

avatar infograf768 infograf768 - change - 20 Mar 2017
Title
[com_associations] Debug Language failing
Debug Language failing when no ini file for the extension
avatar zero-24
zero-24 - comment - 20 Mar 2017

Is this not a feature we have also backported to 2.5 these days? That we use the en-GB value if there is no language file? Can you try to create the file for the language without any content and try again?

avatar infograf768
infograf768 - comment - 20 Mar 2017

If we have an existing ini file and no content, we will get ??CONSTANT?? and this is OK.
When debug is off, it rightfully uses en-GB.
The problem is that we do not have this information when debug is on and the file is absent from the language. It also loads en-GB, therefore we lose a correct debug.

avatar infograf768
infograf768 - comment - 20 Mar 2017

Please see #14801

avatar infograf768 infograf768 - change - 20 Mar 2017
Status New Closed
Closed_Date 0000-00-00 00:00:00 2017-03-20 10:38:27
Closed_By infograf768
avatar infograf768
infograf768 - comment - 20 Mar 2017

Closed as we have a patch


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

avatar infograf768 infograf768 - close - 20 Mar 2017

Add a Comment

Login with GitHub to post a comment