? ? Pending

User tests: Successful: Unsuccessful:

avatar Bakual
Bakual
16 May 2022

Pull Request for Issue #37779 .

Summary of Changes

Added a simple check to the filepath if the current language is part of it. If not, the file is skipped.
I've excluded the base path from the check so it doesn't get triggered if someone has Joomla stored eg within a folder "en-GB" (you never know...).

Testing Instructions

  • Search for a language constant from a 3rd party extension which has their files stored in its extension directory (eg DP Calendar or my own SermonSpeaker will do).

Actual result BEFORE applying this Pull Request

String are shown for all available languages

Expected result AFTER applying this Pull Request

Strings are limited to the selected language

Documentation Changes Required

None

avatar Bakual Bakual - open - 16 May 2022
avatar Bakual Bakual - change - 16 May 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 16 May 2022
Category Administration com_languages
avatar richard67
richard67 - comment - 16 May 2022

@Bakual Will you make a PR for 3.10-dev, too? Am asking because the issue was for both 3.10 and 4.1. Am not sure if I shall close the issue now or if I shall wait for a 3.10-dev PR.

Update: I meanwhile saw this PR is for 4.2-dev and not 4.1-dev. So it's a kind of new feature? If so, just ignore my comment above.

avatar Bakual
Bakual - comment - 16 May 2022

I dunno. I just had a 4.2 installation and worked with that. I guess it would be just copy paste for other branches.
If you want to fix it in 3.x, I can make one for J3 and you guys just upmerge it to J4. But it's likely a very longstanding issue, so not sure if it needs to be fixed in J3 😄

avatar richard67
richard67 - comment - 16 May 2022

@Bakual We can collect opinions in the maintainers channel 😄

avatar richard67
richard67 - comment - 16 May 2022

@joomleb Please mark your test result here in the issue tracker, using the blue "Test this" button, then selecting your test result and then submitting: https://issues.joomla.org/tracker/joomla-cms/37809 . Thanks in advance.

avatar richard67
richard67 - comment - 16 May 2022

@joomleb Approval on GitHub only means a code review has been done. Human test results have to be marked like I described in my previous comment.

avatar joomleb
joomleb - comment - 16 May 2022

I have tested this item ✅ successfully on 4ea439c

Perfect


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37809.

avatar joomleb joomleb - test_item - 16 May 2022 - Tested successfully
avatar joomleb
joomleb - comment - 16 May 2022

@joomleb Approval on GitHub only means a code review has been done. Human test results have to be marked like I described in my previous comment.

Thanks for help on understanding

avatar infograf768 infograf768 - test_item - 20 May 2022 - Tested successfully
avatar infograf768
infograf768 - comment - 20 May 2022

I have tested this item ✅ successfully on 4ea439c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37809.

avatar alikon alikon - change - 20 May 2022
Status Pending Ready to Commit
avatar alikon
alikon - comment - 20 May 2022

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/37809.

avatar laoneo laoneo - change - 20 May 2022
Labels Added: ?
avatar roland-d roland-d - change - 21 May 2022
Labels Added: ?
avatar infograf768
infograf768 - comment - 21 May 2022

I see no reason to not backport this to 3.x and 4.1.
After all, this is a bug.

avatar roland-d roland-d - change - 21 May 2022
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2022-05-21 17:31:45
Closed_By roland-d
avatar roland-d roland-d - close - 21 May 2022
avatar roland-d roland-d - merge - 21 May 2022
avatar roland-d
roland-d - comment - 21 May 2022

Thanks everybody

Add a Comment

Login with GitHub to post a comment