[4.0] Adapt pages build script to language file changes#27180
[4.0] Adapt pages build script to language file changes#27180wilsonge merged 2 commits intojoomla:4.0-devfrom SharkyKZ:j4/build/pages
Conversation
|
Can't find it now but I am sure it was raised before (perhaps by me) |
|
I have tested this item ✅ successfully on fe28a13 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27180. |
|
Here a diff of one of the 2 html files without the patch of this PR, left hand side clean 4.0-dev after checkout (= correct), right hand side same file after a run of The same but with having applied the patch before running npm shows no differences, and the correct language codes ("en-GB", "en-US") are used. |
|
Above screenshot just as help for other testers. PR is fine. |
|
@brianteeman I don't think so. This PR fixes an issue introduced a few days ago with #27130. There's #23258 raised by you but it's a different issue. It appears fixed for now but will reintroduce itself once more installation languages are added. |
|
I have tested this item ✅ successfully on fe28a13 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27180. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/27180. |
|
@SharkyKZ thanks for checking |
|
|
@dgrammatiko Image on the right is before patch. That's what this PR fixes. |
|
@SharkyKZ oooops, my bad! Ignore the noise |
|
Thanks! |


Summary of Changes
Corrects language detection.
Testing Instructions
Run
node build.js --build-pagesornpm install/npm cietc.Check that no changes are made to files in Git.
Expected result
No changes.
Actual result
templates/system/incompatible.htmlandtemplates/system/build_incomplete.htmlare modified with erroneous language code:Documentation Changes Required
No.