Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.29k stars 2.74k forks source link

Product entries not translating from French when generating foreign language PDFs #20719

Closed wutanggg closed 1 year ago

wutanggg commented 2 years ago

Bug

When generating PDFs into foreign languages from a French installation of Dolibarr 15, fields "Nomenclature douanière ou Code SH" and "Pays d'origine" are appearing in French in all tested language translations of documents types. The rest of the document translated OK.

I'll add that in the French versions "Nomenclature douanière ou Code SH" is displaying redundant info and is making the string too long to be easily readable and introducing clutter to the generated documents.

Environment Version

15

Environment OS

LINUX 20.04

Environment Web server

No response

Environment PHP

7.4

Environment Database

MYSQL 8.0

Environment URL(s)

No response

Expected and actual behavior

optional product information strings should be translated

Steps to reproduce the behavior

No response

Attached files

No response

wutanggg commented 2 years ago

I forgot to add that using custom translations in the configurations page for "CustomCode" or "CountryOrigin" does not work for these values

ns-info90 commented 2 years ago

Hello,

In which PDF edition do you have this problem?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 1 year with no activity. If this is a bug, please comment to confirm it is still present on latest stable version. if this is a feature request, please comment to notify the request is still relevant and not yet covered by latest stable version. This issue may be closed automatically by stale bot in 10 days (you should still be able to re-open it if required).