User tests: Successful: Unsuccessful:
With #19353 we added support for non-prefixed language files into J3.10. The loading behavior was set to keep loading prefixed files first so backward compatibility wasn't affected.
With #27130, the prefixed were removed from language files in 4.0.
Now this PR will change the loading order in 4.0 so non-prefixed files have priority over prefixed ones.
This PR changes the lookup order for language files so non-prefixed ones have precedence over prefixed ones.
Copy a language file (eg com_content.ini) and prefix the copy with the language code (eg en-GB.com_content.ini).
Now change a know string in there to a different value.
The changed value will not be visible as com_content.ini is loaded first with this PR.
The changed value will be used since currently the prefixed files is looked up first.
The change in default behavior should be noted if language file loading is documented anywhere.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_languages Installation Libraries |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-12-14 09:24:29 |
Closed_By | ⇒ | infograf768 | |
Labels |
Added:
?
|
tks
I have tested this item✅ successfully on bc838c1
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27250.