atefatwan Posted May 30, 2012 Share Posted May 30, 2012 Each word translation of the Arabic language does not appear Can you help to correct this situation I'm close to completion of the translation into Arabic This situation stands in front of me impediment There are attachments file demonstrates the problem 000002.pdf Link to comment Share on other sites More sharing options...
tuk66 Posted May 30, 2012 Share Posted May 30, 2012 Do you have translated PDF text to Arabic and print the invoice with already choosen Arabic in FrontOffice / BackOffice? Link to comment Share on other sites More sharing options...
atefatwan Posted May 31, 2012 Author Share Posted May 31, 2012 Yes, this is what might I have done And the attached file at the beginning of this topic shows that all the words that were translated does not appear in the invoice Link to comment Share on other sites More sharing options...
atefatwan Posted May 31, 2012 Author Share Posted May 31, 2012 To illustrate this problem There are two files attachments One of them is called (000011_EN.pdf ) And the second is called (000011_AR.pdf ) Both for the same invoice And you can notice that the words in Arabic does not appear in a file (000011_AR.pdf ) 000011_AR.pdf 000011_EN.pdf Link to comment Share on other sites More sharing options...
Patric Posted May 31, 2012 Share Posted May 31, 2012 Topic moved into the correct section. Link to comment Share on other sites More sharing options...
atefatwan Posted May 31, 2012 Author Share Posted May 31, 2012 Topic moved into the correct section. Thank you very much Can anybody help me to fix this issue Link to comment Share on other sites More sharing options...
atefatwan Posted May 31, 2012 Author Share Posted May 31, 2012 After searching in the script I think that issue came from FPDF because that classes is responsible about generation words In a PDF file the new ver is (1.7) I was downloaded it and i am trying to fix this issue Is there anyone have any idea to help Link to comment Share on other sites More sharing options...
atefatwan Posted May 31, 2012 Author Share Posted May 31, 2012 (edited) I think we have some hope I found TCPDF library that maybe help us to fix that issue whatever I need some advice or ideas to how link that library with script There is file attachments generation form that library written in Arabic, Persian and English example_018.pdf Edited May 31, 2012 by atefatwan (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted June 1, 2012 Share Posted June 1, 2012 You have a problem with fonts. It is about UTF-8 support (TCPDF library is good) as well as Arabic fonts. The new version of the M4 PDF Extension module solve this chalenge. The new version (1.5.0, only available on presta-addons.com now) have a new 'Invoices - Arabic' template which use Arabic fonts and right-to-left tables too. See the attachment. Sorry for some non translated English texts. orderdetail19BD79.pdf Link to comment Share on other sites More sharing options...
atefatwan Posted June 1, 2012 Author Share Posted June 1, 2012 thanks for your attention but I'm not try build my own site I am translated this script for free use to anybody if you have any advice to help me to correct that issue for free . I will be thanks for you. PS Translation arabic is encoding UTF-8 Link to comment Share on other sites More sharing options...
atefatwan Posted June 1, 2012 Author Share Posted June 1, 2012 (edited) I am already merged a tcpdf library in the script. the Encoding for PDF invoice and Font for PDF invoice is show in Back office but I had an issue when I try print invoice the page is came plank . this issue come from pdf.php wich in classes folder. that is true ? Edited June 1, 2012 by atefatwan (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now