-
-
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
[5.2] Mail Templates language file loading not using the MailsHelper::loadTranslationFiles #43475
Conversation
I have tested this item 🔴 unsuccessfully on 3ccce67 An error has occurred. Seems like this line is missing. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43475. |
Yes sorry i have added it to my test Installation but not to the patch. Its added now, please try again. Thanks |
I have tested this item 🔴 unsuccessfully on c903f7c But after applying the patch, the subject and bodytexts are only in English, even when i select the German flag for example. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43475. |
Hmm need to look into this deeper later. When its happening with and without the patch it looks like a different issue. |
I looks like the core templates work in the right language without the patch. Without the patch your extension only shows English |
Can you see that the german language file is loaded when logged in as german in the language debug? |
Ok so the issue i saw is solved now but the switch of language seams not to be respected not by the current nor by the new coding. That needs more debugging than how it should work and why it does not work right now. Thanks 👍 |
@JeroenMoolenschot I think i have found the issue, please try again. |
I have tested this item ✅ successfully on 423ec91 This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43475. |
@zero-24 Is this a bug fix or a new feature? |
Moved to 5.2 looking forward to tests on this PR so it can be merged. |
I have tested this item ✅ successfully on 53f137e This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43475. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/43475. |
Thanks @zero-24 ! |
Thanks 👍 |
Summary of Changes
Load the template language files via the MailsHelper over an manuall code which not handles it correctly for example for plugins.
Testing Instructions
Actual result BEFORE applying this Pull Request
On the detail view an mail template shipped with an plugin is not translated
Expected result AFTER applying this Pull Request
Once that patch is applied the issue is solved
Link to documentations
Please select: