Invoice product description translation problem in PDF crabe

Hello everyone,

I have found a problem using the pdf template “crabe” for client’s invoices with product translation feature.

My dolibarr main language is spanish and my product names are in spanish. I have already set the translated names in english as in the following screenshot:

When I started generating pdfs of invoices in english, everything worked great. Then, I have been setting purchase orders and projects associated to the invoices and I have found now that the invoices I generate in english show the names of the products in english and in spanish as well.

image

It is weird, because I have older invoices that I re-generate and they come correctly, as in this picture:

image

I even tried to link a PO and Project to the older invoices and the problem does not show.

I have had a hard time trying to figure out what could be the origin of this problem, but I cannot find a solution.

Please, does anyone know what can be happening?

I am using dolibarr v12.0.1, hosted in a server with PHP V.7.2.31

Thank you very much for your help!

Regards,

Alonso

I think there are too many errors with language strings in version 12.0.1. I get the same error with Vietnamese version.