-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Template discover install does not load language files #6835
Conversation
To test this:
Before applying the patch, you will see this message:
After the patch:
PS. You can repeat the same with admin template. |
See also: gantry/gantry5#114 |
this patch works for me, no more missing language strings on discover installations |
Able to reproduce then #6835 works as expected both for admin & site templates. Thanks This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/6835. |
@mbabker Can you review? I guess you know the code since you rewrote part of it recently 😄 |
@test ok After applying the patch I tested:
About the discover issue fixed here this was the
And the
I also tested the the So 👍 here |
Well, like I said in the pull request comment, the source was wrong also for admin: Fixing |
Good to go, consistent with other adapters that have multi-client support. |
Template discover install does not load language files
Thanks, will now look at my next small improvement for the installer. |
FYI for those who are interested on installer bugs: #6854 |
When using discover install, path to the template is wrong when loading the language.
Old code pointed to
site/templates/{$template}
orADMINISTRATOR/templates/{$template}
where it should point to the real directory, either in administration or site.This pull request will fix the lookup path to point to
{$base}/templates/{$template}
where base is either JPATH_SITE or JPATH_ADMINISTRATOR.