?
avatar toivo
toivo
19 Feb 2018

Steps to reproduce the issue

Install the system plugin Sourcerer from JED:
https://extensions.joomla.org/extension/sourcerer/
https://www.regularlabs.com/extensions/sourcerer/features#sourcerer_downloads_free

Enable the plugin.
Go to Languages - Create a New Override.
Search text you want to change: copy and paste for example the following text:
SRC_TOGGLE_SOURCE_TAGS

Expected result

The language constant is found

Actual result

No matching texts found

System information (as much as possible)

Environment 1: Wampserver, PHP 7.0.10, Joomla 3.8.5 and also Joomla 3.9 latest nightly build.
Environment 2: Linux, PHP 7.0.27, Joomla 3.8.5

Additional comments

This behaviour is not limited to the extension Sourcerer. Confirmed this with a small 'Hello World' system plugin but was unable to attach it to this ticket.

Tried Search with location set to both Site and Administrator with the same result. If you use the language constant and add a new text as override, it works all right in both Site and Administrator when the overrides are created separately, or when 'Both' is selected.

According to @mbabker, "Since 1.6 core has supported a language folder in the extension directory and the override system should support finding those files." Ref. https://forum.joomla.org/viewtopic.php?f=706&t=959242#p3513752

avatar toivo toivo - open - 19 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Feb 2018
avatar brianteeman
brianteeman - comment - 19 Feb 2018

Confirmed

avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Feb 2018
Status New Confirmed
avatar infograf768
infograf768 - comment - 19 Feb 2018
avatar infograf768
infograf768 - comment - 19 Feb 2018

Should be used by the overrider.js

Joomla.overrider.refreshCache

@dgt41
can you look at this please?

avatar infograf768
infograf768 - comment - 19 Feb 2018

I think I found the issue. Give me a few minutes

avatar infograf768
infograf768 - comment - 19 Feb 2018

Please test #19740

avatar infograf768 infograf768 - close - 19 Feb 2018
avatar infograf768 infograf768 - change - 19 Feb 2018
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2018-02-19 16:36:07
Closed_By infograf768
avatar infograf768
infograf768 - comment - 19 Feb 2018

Note: it should not be broken for components, modules and templates as these are 3 levels deep only.

Add a Comment

Login with GitHub to post a comment