Patient picture is not showing up (if I translate patient photograph category)

I have set patient picture, uploaded it to documents | patient information | patient photograph, select file, upload it.
Then I close my patient, search for her again and still shows default icon.
I have customized document category by translating patient photograph to fotografía del paciente (in Spanish) and it breaks the functionality.

I set that name back to patient photograph category and it works again.

OpenEMR Version
I’m using OpenEMR version 7.0.1

I’m using:Chrome

Operating System
I’m using: Ubuntu 22.04

Did you search the forum for similar questions? Yes

Did you check the logs?
Was there anything pertinent in them?
Please paste them here (surround with three backticks (```) for readability.
You can also turn on User Debugging under Administration->Globals->Logging User Debugging Options=>All

I have noticed that patient photograph category name is not updated if you update document category in User Interface.


The value is stored in a table named globals, and its value is “Patient Photograph”, the same applies to Patient ID Card. Both must be in english for this pictures to work.