No Code Attached Yet
avatar tecpromotion
tecpromotion
27 Sep 2022

Steps to reproduce the issue

Install some languages and activate them alternately for the frontend.
Search for content, tags, contacts etc. in the search (com_finder).
The word type is translated but the value of the type always remains the same.

The language strings do not need to be revised as they are already maintained.

Expected result

All strings are translated.

Actual result

e.g. for Article

Frontend English (en-gb):
2022-09-27_14-38-49

Frontend German (de-de):
2022-09-27_14-40-33

Frontend French (fr-fr):
2022-09-27_14-41-33

Frontend Danish (de-de):
2022-09-27_14-42-38

All Strings are in english, no matter which language was chosen for the frontend.

System information (as much as possible)

4.2.2

Additional comments

@Hackwar see

public static function branchSingular($branchName)
{
$return = preg_replace('/[^a-zA-Z0-9]+/', '_', strtoupper($branchName));
$language = Factory::getApplication()->getLanguage();
if ($language->hasKey('PLG_FINDER_QUERY_FILTER_BRANCH_S_' . $return) || JDEBUG) {
return 'PLG_FINDER_QUERY_FILTER_BRANCH_S_' . $return;
}
return $branchName;
}

avatar tecpromotion tecpromotion - open - 27 Sep 2022
avatar joomla-cms-bot joomla-cms-bot - change - 27 Sep 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 27 Sep 2022
avatar cyrezdev
cyrezdev - comment - 4 Dec 2022

Hi there,
Same for me, and as i was looking to open a PR to fix it, if none already opened, i will linked this one to this issue report.

avatar cyrezdev
cyrezdev - comment - 4 Dec 2022

A PR is opened and ready for testers: #39353

;-)

avatar richard67 richard67 - close - 4 Dec 2022
avatar richard67
richard67 - comment - 4 Dec 2022

Closing as having a pull request. Please test #39353 . Thanks in advance.

avatar richard67 richard67 - change - 4 Dec 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-12-04 10:51:37
Closed_By richard67

Add a Comment

Login with GitHub to post a comment