No Code Attached Yet
avatar Pinkeltje
Pinkeltje
14 Oct 2024

Steps to reproduce the issue

Create a new filter in Smart Search

Expected result

All options shown as language constants thus enabling multilanguage and/or translation

Actual result

Text "Events" is hardcoded.
Image
Same in frontend
Image

System information (as much as possible)

Joomla 5.1.4

Additional comments

avatar Pinkeltje Pinkeltje - open - 14 Oct 2024
avatar joomla-cms-bot joomla-cms-bot - change - 14 Oct 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Oct 2024
avatar Pinkeltje Pinkeltje - change - 14 Oct 2024
The description was changed
avatar Pinkeltje Pinkeltje - edited - 14 Oct 2024
avatar fgsw
fgsw - comment - 14 Oct 2024

Is "Events" from a Core-Component?

A 5.2-Installation using Sample data Multilingual + Blog show:

Image

avatar Hackwar Hackwar - change - 14 Oct 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-10-14 13:15:31
Closed_By Hackwar
avatar Hackwar Hackwar - close - 14 Oct 2024
avatar Hackwar
Hackwar - comment - 14 Oct 2024

If you disable language debug, it doesn't show the constants. However, you can copy the constants here and thus customise the translations.

avatar Hackwar Hackwar - change - 14 Oct 2024
Status Closed New
Closed_Date 2024-10-14 13:15:31
Closed_By Hackwar
avatar Hackwar Hackwar - reopen - 14 Oct 2024
avatar Hackwar
Hackwar - comment - 14 Oct 2024

Since I think you mean "Events" would be not a constant: You most likely have a translation for that somewhere in the system already.

avatar Pinkeltje
Pinkeltje - comment - 14 Oct 2024

Found it:
PLG_FINDER_QUERY_FILTER_BRANCH_P_EVENT
PLG_FINDER_QUERY_FILTER_BRANCH_S_EVENT
Somehow it shows fixed text Event when installing finder plugin for events extension like JEM of RSEvents. But language overrides now solved it.

avatar richard67
richard67 - comment - 15 Oct 2024

So this issue can be closed?

avatar Hackwar Hackwar - close - 15 Oct 2024
avatar Hackwar
Hackwar - comment - 15 Oct 2024

Yes.

avatar Hackwar Hackwar - change - 15 Oct 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-10-15 14:23:03
Closed_By Hackwar

Add a Comment

Login with GitHub to post a comment