Issues translating a word in Bahmni LOL

I am looking into translating a certain word (Male) in the Bahmni (see picture below)

image

As far as I could get this is the gender which is not by default translated in any language in Bahmni. The code is under

/opt/bahmni-web/etc/bahmniapps/clinical/displaycontrols/patientContext/views/patientContext.html

Any idea how could I translate it?

this would require some code change. I guess translate key lookup was missed. Can you raise a card for this? @binduak @abhinab

Actually I figured this out. We need to change the values in the global settings in the OpenMRS under mrs.genders

The problem we’re facing now is with Id and Diagnosis in the WardList view :confused:

All the rest can be translated via changing a SQL query ( emrapi.sqlGet.wardsListDetails) under OpenMRS apart from these two fields :confused:

@aidjali this would require code changes as we see here

Hi @binduak , I tried this too but unfortunately I lose some records afterwards. If I change Id then I get only a certain ID in the table.

e.g.

Patient A > IN1234

Patient B > XK1234

I would only get IN (or XK) :confused: I think the issue then lies with the query itself