-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[com_finder] Allow loading plugin language strings from extension folder #12204
Conversation
Can you use the JPATH_PLUGINS constant? On Thursday, September 29, 2016, Piotr [email protected] wrote:
|
Thanks, fixed. |
I have followed below two steps, but not able to perform 3rd step.
Not able to see "Search by Author - n" text in new search filter view.
I am using Joomla! 3.3.7-dev — © 2016. This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/12204. |
This patch is towards 3.7.0-dev, not 3.3.7-dev |
@RonakParmar |
Thank you, I'll do it. |
@wilsonge Why v3.7 milestone instead of v3.6? It's a bugfix, not new feature |
What bug is it fixing? As far as I can tell this is bringing consistency to way finder plugins load language files. But as it's never apparently been an intended thing this is the grey area but to me is more feature than bug fix |
Since 1.6 core has supported loading languages from either the global directory or within the extension (for those that support it; I think files and libraries extensions don't). So anything not supporting that lookup method to me looks like a bug and not a feature. |
I have tested this item ✅ successfully on 404f263 This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/12204. |
@RonakParmar can you test again, please? |
Hi, Can anyone guide me, what should I have to do to make my local copy version 3.7.0-dev? |
You can download the last build from here: https://developer.joomla.org/nightly-builds.html :) |
I do agree this is a bug and not a new feature as a 3rd party can create a new finder plugin with its own language folder. |
In the first step of testing instruction
You mentioned "finder - categories plugin" and you are showing content plugin language files to move in content plugin. Is it a typing mistake? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12204. |
@zero-24 thank you for the URL. I have downloaded full package of Joomla 3.7.0-dev and setup in my local to test this issue. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12204. |
@RonakParmar you will get when creating a new filter: Then patch and create in add the fini files in this folder Now test |
I have tested this item ✅ successfully on 404f263 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12204. |
RTC Please reconsider milestone. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/12204. |
thank you |
Sorry was merged by mistake, thought it was based on 3.7, I am going to revert it. @piotr-cz could you please make a new PR based on the 3.7.x branch, thanks |
@rdeutz Are you sure this belongs to 3.7 branch (see this comment)? |
@piotr-cz we are not merging it into 3.6.3 and I have my doubts that we will have a 3.6.4. You can make it against staging if you like. |
I'll prepare a PR for 3.7 branch then. |
Summary of Changes
This adds functionality to load finder plugin language strings from the extension folder (just like it's happening in other places).
Testing Instructions
en-GB.plg_finder_content.ini
anden-GB.plg_finder_content.sys.ini
fromadministrator/language/en-GB
folder toplugins/finder/content/language/en-GB
Documentation Changes Required
none