No Code Attached Yet bug
avatar brianteeman
brianteeman
1 May 2021

The code says that this message is used when "Site language and Content language are published but Home page is unpublished, trashed or missing"

But the message is
The Default Home page assigned to the <strong>%s</strong> Content Language is unpublished. <strong>The language will not display on the site.</strong>

The message does not match the condition. It is particularly confusing when you first setup a multilingual site and it says the home page is unpublished as you haven't even created one yet.

Either there need to be more conditions checked so that the language string matches the condition and is helpful to the user or the current text needs to be made more accurate.

eg
"There is no published Default Home page assigned to the <strong>%</strong> Content Language. <strong>The language will not display on the site.</strong>"

avatar brianteeman brianteeman - open - 1 May 2021
avatar joomla-cms-bot joomla-cms-bot - change - 1 May 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 May 2021
avatar brianteeman
brianteeman - comment - 1 May 2021

Similar problem with COM_LANGUAGES_MULTILANGSTATUS_CONTENT_LANGUAGE_HOME_UNPUBLISHED

avatar himanshu007-creator
himanshu007-creator - comment - 3 May 2021

for COM_LANGUAGES_MULTILANGSTATUS_CONTENT_LANGUAGE_HOME_UNPUBLISHED

used when:- both Content Language and Home page are unpublished
message:- Both the %s Content Language and its Home page are unpublished. The
language will not display on the site.

suggested message:- Content Language and its Home Page are unpublished. Check again for Content Language assignment.The language will not display on the site.

I would like to work on this issue.

avatar infograf768
infograf768 - comment - 3 May 2021

The variable should be kept in the value.

avatar brianteeman
brianteeman - comment - 3 May 2021

You are missing the point. The home page is not unpublished. The home page does not exist.

avatar himanshu007-creator
himanshu007-creator - comment - 3 May 2021

suggested message:- Home page does not exist as %s not assigned as content language

avatar brianteeman
brianteeman - comment - 7 May 2021

the error message is even more misleading than I thought as reading the code it is checking to see if there is a published module for a menu that contains a published language default item

avatar Hackwar Hackwar - change - 22 Feb 2023
Labels Added: No Code Attached Yet bug
Removed: ?
avatar Hackwar Hackwar - labeled - 22 Feb 2023

Add a Comment

Login with GitHub to post a comment