Project

General

Profile

Actions

Bug #9118

closed

[J4] Joomla language API no longer properly returning loaded language

Added by krileon over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
High
Assignee:
Target version:
Start date:
27 January 2023
Due date:
% Done:

100%

Estimated time:

Description

JFactory::getApplication()->getLanguage()->getTag() is not returning the loaded language switched to using language switcher. It is always returning the default site language. This was never the case on Joomla 3 and previous Joomla releases. Appears to be a regression bug or change of API without warning.

Actions

Also available in: Atom PDF