Since #5140 we had to correct many aspects of the languagefilter plugin because of the confusion introduced by the variable $default_lang which was not anymore representing the default site language tag but the current page language tag.
This PR re-introduces a true $default_lang which will replace in the plugin all occurences of JComponentHelper::getParams('com_languages')->get('site', 'en-GB')
and change the existing one to $current_lang.
Please test all aspects of multilanguage.
A simple test for the validity of $current_lang is to define a custom site name for content languages and look at the site name displayed in the browser tab.
Tested with latest staging and latest bilingual VirtueMart shop. Didn't see any language problem. The 'simple test' with custom site names as described above, did work as expected, too.
Tested with latest staging and latest bilingual VirtueMart shop. Didn't see any language problem. The 'simple test' with custom site names as described above, did work as expected, too.
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/7032.