The values in a checkbox must be in the respective language #5293

Open
opened 2026-02-20 16:32:30 -05:00 by deekerman · 0 comments
Owner

Originally created by @SinergiaCRM on GitHub (Jan 20, 2025).

Issue

It has been found that, when displaying checkbox type field data in a PDF Template, the values are only displayed in English. Currently, the templates display “true” or “false”.

Possible Fix

The idea would be to add some tags so that the administrator can edit it with his version in the language he wants.
github.com/salesagility/SuiteCRM@9606cd3978/modules/AOS_PDF_Templates/templateParser.php (L94-L99)

Steps to Reproduce the Issue

1. Go to Studio and, in any module, create a field of type “Checkbox”.
2. Then, create a PDF template of that module.
3. Generate the template and check that the answer of that checkbox is only in English and not in the language defined by the user.

Context

No response

Version

7.14.6

What browser are you currently using?

Chrome

Browser Version

No response

Environment Information

PHP 7.4

Operating System and Version

Ubuntu 22.04

Originally created by @SinergiaCRM on GitHub (Jan 20, 2025). ### Issue It has been found that, when displaying checkbox type field data in a PDF Template, the values are only displayed in English. Currently, the templates display “true” or “false”. ### Possible Fix The idea would be to add some tags so that the administrator can edit it with his version in the language he wants. https://github.com/salesagility/SuiteCRM/blob/9606cd39784d2af859dde77641b52a3b864dd876/modules/AOS_PDF_Templates/templateParser.php#L94-L99 ### Steps to Reproduce the Issue ```bash 1. Go to Studio and, in any module, create a field of type “Checkbox”. 2. Then, create a PDF template of that module. 3. Generate the template and check that the answer of that checkbox is only in English and not in the language defined by the user. ``` ### Context _No response_ ### Version 7.14.6 ### What browser are you currently using? Chrome ### Browser Version _No response_ ### Environment Information PHP 7.4 ### Operating System and Version Ubuntu 22.04
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#5293
No description provided.