-
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
Arabic invoice pdf issue Magento 2.3.0 showing as Arabic letters but not correct #25769
Comments
Hi @Alwafaa123. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @Alwafaa123 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Hi @Alwafaa123 thank you for the report. Please provide more information. I don't see what the problem you have exactly. More information about reporting you can find here |
@magento give me 2.3-develop instance |
Hi @AnnaShepa. Thank you for your request. I'm working on Magento 2.3-develop instance for you |
Hi @AnnaShepa, here is your Magento instance. |
@magento i am working on it |
@sagaltsev got any solution? |
Hi @engcom-Charlie. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Charlie Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
@engcom-Charlie issue has been resolved? |
@Alwafaa123 we have to wait when some developer will assign this ticket |
@engcom-Charlie how can we solve the issue? any idea? |
@Alwafaa123 sorry, but i have no idea. |
Also, I have the same problem. Do you have any solution or update? |
@fisal77 not yet waiting for the fix. Let me know if you have any idea about the same. |
@Alwafaa123 , @fisal77 Zend pdf library doesn't support Arabic language RTL, if you will check the content from left to right you will found that content is good just direction is changed. |
@Alwafaa123 In this case ... I am very sorry to inform you that Magento is built using Zend framework, that’s why we use TCPDF http://www.tcpdf.org/ but in your case you have two options as I see: 1st option is create new module with Zend Drawer & TCPDF to support Arabic Characters and solving the reversed characters problem… but some information are fixed. 2nd option with highly recommended from me.. is using this extension https://www.magetrend.com/magento-2-pdf-invoice with this extension you can create new templates for (invoice,shipment,order,credit memo). I have use it a lot .. and it’s really good. I hope my reply is clear to you. |
Hi @Alwafaa123. Thank you for your report.
The fix will be available with the upcoming 2.4.0 release. |
After testing the update, The problem still exists. |
Hi @ammarabdulsalam, This issue was fixed for Hebrew for sure, and looks like partially fixed for Arabic As I understood - in Arabic some letters should be joined in case when they’re going together - unfortunately the library Zend PDF that magento use currently isn’t fully support RTL languages, and it’s actually discontinued, so proper solution will be replacing used library that requires really huge effort. |
@ihor-sviziev |
@EhabAmawi @ammarabdulsalam could you report a separate issue with the exact steps to reproduce and data that currently works incorrectly? |
Hi Ehab, do you have any solution for this problem ? |
Preconditions (*)
Magento 2.3.0 & 2.3-develop
The store should be in Arabic
Steps to reproduce (*)
Expected result (*)
same as content below
eg: الإسم ابو بدر المطيري
Actual result (*)
here it's showing in different data
eg : يريطملا ردب وبا
The text was updated successfully, but these errors were encountered: