Support

Home Forums Translations Invoice translation (2)

Invoice translation (2)

Posted: September 13, 2013 at 7:07 am

Viewing 8 reply threads


Fabio Brito

September 13, 2013 at 7:07 am

Hi

I am trying to translate the invoice and I am facing some problems listed bellow (the “Invoice Payment Settings” in the gateways setting was activated BTW):

1. After inserting the Logo URL is not appearing, instead the PDF invoice is not created and I get the follow ERROR: “FPDF error: Can’t open image file: http://mydomain.com/~folder/logo.png” . But the logo exists and it was uploaded via ftp in the root.

2. Many labels in the Invoice are not translated and they are not in the language files, then I can not translate them with Poedit.

3. In the “Invoice Payment Settings”, the tag </br> or <br/> is not working.

Please, help me to fix the problem.

Thank you

Fabio

  • This topic was modified 4 years, 8 months ago by Garth.


Dean

September 13, 2013 at 11:52 am

Hi,

1) Does the image have a transparent layer? If so, it wont work. If not can you post the full error code, ideally with the real url if that is ok.

2) We have a ticket outstanding to look into the reasonms why parts of the invoice do not translate. In the meantime, perhaps this post may assist. https://eventespresso.com/topic/localization-of-invoice/

Josh’s response should help translate those parts that are not being picked up.

3) No it does not work, please just press enter for a new line.


Fabio Brito

September 13, 2013 at 6:14 pm

Hi

Thank you for the answer. Them items 2 and 3 are solved.

The item 1 is not solved. I have already uploaded a jpg file and the error message is the same.

Full URL: http://createwebnow.com/?download_invoice=true&admin=true&registration_id=1-5232380158b77

Error message: FPDF error: Missing or incorrect image file: http://184.107.192.10/~vaiterbr/logo-vaiter.jpg


Sidney Harrell

September 13, 2013 at 8:45 pm

Your server may not have allow_url_fopen set to true in php.ini. You could try using a file path instead of the url.


Fabio Brito

September 15, 2013 at 3:56 am

Hi Sidney

The logo is stored in the root. What could be the path? I am, can you you give me an example please?

I have tried / , ../ ../../ and it didn´t work


Dean

September 15, 2013 at 8:30 am

Hi

If it is stored in the root, then the path would be http://createwebnow.com/logo-vaiter.jpg


Fabio Brito

September 15, 2013 at 5:00 pm

It didnt work. I will try to: allow_url_fopen set to true in php.ini

Thank you


Dean

September 16, 2013 at 4:21 am

OK, let us know how it goes please.


Fabio Brito

September 19, 2013 at 4:34 am

It worked. The only way is ONLY setting allow_url_fopen set to true in php.ini

Viewing 8 reply threads

The support post ‘Invoice translation (2)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso