-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
i18n:collect-phrases does not include mail template translations in depend constructs #35449
Comments
Hi @norgeindian. Thank you for your report.
Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket. ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
Hi @engcom-Delta. Thank you for working on this issue.
|
Hi @norgeindian , Steps followed:
Actual results: Strings, which are surrounded by a depend construct, are not included in the exported file. So for example Our hours are %store_hours. is not included in the file. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-3499 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-Delta. Thank you for verifying the issue. |
@magento I am working on this |
@sprankhub thanks for contributing, Internal team is processing your PR along with your commits and will fix failed automation tests. |
Hello, As I can see this issue got fixed in the scope of the internal Jira ticket AC-3499 by the internal team Based on the Jira ticket, the target version is 2.4.6. Thanks |
Preconditions (*)
Steps to reproduce (*)
bin/magento i18n:collect-phrases --output=test.csv vendor/magento/module-sales/view/frontend/email/
vendor/magento/module-sales/view/frontend/email/order_new.html
and see for example the following code snippet:{{depend store_hours}} {{trans 'Our hours are <span class="no-link">%store_hours</span>.' store_hours=$store_hours |raw}} {{/depend}}
Expected result (*)
Actual result (*)
depend
construct, are not included in the exported file. So for exampleOur hours are <span class="no-link">%store_hours</span>.
is not included in the file.Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: