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
The language constant is found
No matching texts found
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
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
Status | New | ⇒ | Confirmed |
The code exists
https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_languages/models/strings.php#L26
but I can't see where it is used.
I think I found the issue. Give me a few minutes
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-19 16:36:07 |
Closed_By | ⇒ | infograf768 |
Note: it should not be broken for components, modules and templates as these are 3 levels deep only.
Confirmed