Ziaur Rahman Posted May 18, 2016 Share Posted May 18, 2016 I translate my site with Bangla (Bengali language). When I create an invoice as PDF, it shows "????" or box for my language. Sorry for my bad English. 000003.pdf Link to comment Share on other sites More sharing options...
tuk66 Posted May 18, 2016 Share Posted May 18, 2016 It is about fonts. These articles can help: https://www.prestashop.com/forums/topic/195952-pdf-font-problem-solved/ https://www.prestashop.com/forums/topic/336709-presta-15-cant-display-chinese-characters-in-pdf-documents/ Link to comment Share on other sites More sharing options...
Ziaur Rahman Posted May 18, 2016 Author Share Posted May 18, 2016 I am using Prestashop Cloud. And here is no "PdfGenerator.php" file. Can you help me other way? Link to comment Share on other sites More sharing options...
tuk66 Posted May 18, 2016 Share Posted May 18, 2016 Oh, then contact PrestaShop staff to fix it. Link to comment Share on other sites More sharing options...
Ziaur Rahman Posted May 18, 2016 Author Share Posted May 18, 2016 Any one can help me? Link to comment Share on other sites More sharing options...
eleazar Posted May 19, 2016 Share Posted May 19, 2016 1. Download a Prestashop zipfile of your release in the cloud from the PrestaShop download site. 2. Extract the file classes/pdf/PdfGenerator.php 3. Apply the changes suggested by tuk66. 4. Upload this file to the folder /override/classes/pdf via FTP after you created these subfolders before. 5. Clear cache - and enjoy. Link to comment Share on other sites More sharing options...
Ziaur Rahman Posted May 21, 2016 Author Share Posted May 21, 2016 1. Download a Prestashop zipfile of your release in the cloud from the PrestaShop download site. 2. Extract the file classes/pdf/PdfGenerator.php 3. Apply the changes suggested by tuk66. 4. Upload this file to the folder /override/classes/pdf via FTP after you created these subfolders before. 5. Clear cache - and enjoy. Thanks eleazar. Sorry for my late replay. It solves partialy my problem. It may occur for imperfect font name. Can you tell me which font should I use for Bengali? Bengali ISO code "bn" and Country code "BD". Link to comment Share on other sites More sharing options...
eleazar Posted May 21, 2016 Share Posted May 21, 2016 Just try Google search, e.g. this https://www.omicronlab.com/bangla-fonts.html Tutorial for implementing this font to you Prestashop: http://www.templatemonster.com/help/prestashop-1-6-x-how-to-add-a-custom-font.html#gref Unfortunately our Bengali translation is only finished 60%: https://crowdin.com/project/prestashop-official/bn# If you like to help to finish this project contact the translation team. 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