rami Posted February 16, 2010 Share Posted February 16, 2010 hay guys,i put hours on how to fix the PDF Invoices to work with hebrew characters- but without success.i have prestashop 1.2.5. i add a new language (hebrew)-succeeded, and also try to import the he.gzip file- without any luck=not succeeded, tells me "the archive cannot upload" error (probably because of .gzip or GD not supported on my share host)i was manage a hebew fonts arialmt and arialmtb and some cp encoding which not help.the top only thing/result i was get is the PDF invoices in gibrish instead of ???? signs alsoi didnt understand how to install TCPDF on prestashop 1.2.5 because theres no tutorial for this. just for older versions.you can see the results down in the pdf file.help is necessary!rami 000005(3).pdf Link to comment Share on other sites More sharing options...
rocky Posted February 17, 2010 Share Posted February 17, 2010 Have you tried going to Preferences > PDF and changing the encoding? Perhaps one of them is appropriate for Hebrew. Link to comment Share on other sites More sharing options...
rami Posted February 17, 2010 Author Share Posted February 17, 2010 i was change and tests all the encoding options on the P -> PDF page, and the top result was like i said: gibrish instead ???? signsmaybe if ill change in the PDF.php file the "utf-8" characters into "windows-1255" it will helps?edit:===no its still in ??? signsany solutions? Link to comment Share on other sites More sharing options...
rami Posted February 17, 2010 Author Share Posted February 17, 2010 how do i implement TCPDF on prestashop 1.2.5 ?there any chance that moderator can assist here (i am willing to put some hours on this) for solving this thing ones for all?this didnt help:http://www.prestashop.com/forums/viewthread/14105/#79197bonus- if you help me solve with this thing ill take time and i will translate the hebrew language from 72% into 100% translation.its a win win situation!EDIT:====this guy here was implement it on persian hebrew and arabiche said: hanges in localized version :1- RTL theme in front and back office (if Persian, Hebrew or Arabic selected)2- Javascript and css file compresed3- Support utf-8 text in PDF by using TCPDF4- RTL PDF (if Persian, Hebrew or Arabic selected)download lastest versiondownload version 1.2.51- Install it2- Add Persian, Hebrew or Arabic language3- Select itEnjoy i will test it on my serverdownload link of the Persian system: http://www.mediafire.com/?tjlzmd2dynmmore question about the above:which files are intact with the PDF generator system other then classes/PDF.php classes/Tools.phpand config/config.inc.php Link to comment Share on other sites More sharing options...
rami Posted February 17, 2010 Author Share Posted February 17, 2010 i was install this version here that allow to generate hebrew in PDF invoices. it works. but underneath at the bottom the characters is without order.you can see the result belowby the way anyone can tell me which files the PDF invoicing generator needs and depends on prestashop 1.2.5?thanks,rami 000001(4).pdf Link to comment Share on other sites More sharing options...
Recommended Posts