# Issues translating a word in Bahmni LOL

**URL:** <https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555>\
**Category:** Bahmni\
**Tags:** development\
**Created:** [February 10, 2023, 9:25am UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555 "2023-02-10T09:25:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aidjali](https://talk.openmrs.org/letter_avatar/aidjali/32/6_22734026db12803ebb3e059622ac3534.png) [@aidjali](https://talk.openmrs.org/u/aidjali)\
**Post date:** [February 10, 2023, 9:25am UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555/1 "2023-02-10T09:25:39Z")

</div>

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

![image](https://talk.openmrs.org/uploads/default/original/3X/d/1/d1246e23012590e9a23377cabb107f01326b142b.png)

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`

 ![image](https://talk.openmrs.org/uploads/default/original/3X/5/5/55ec132a9849a3c739bdcd9759aa6c998281d9a9.jpeg)

Any idea how could I translate it?

---

<div class="post-metadata">

**Author:** ![angshuonline](https://talk.openmrs.org/user_avatar/talk.openmrs.org/angshuonline/32/4925_2.png) [@angshuonline](https://talk.openmrs.org/u/angshuonline)\
**Post date:** [February 14, 2023, 9:38am UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555/2 "2023-02-14T09:38:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![aidjali](https://talk.openmrs.org/letter_avatar/aidjali/32/6_22734026db12803ebb3e059622ac3534.png) [@aidjali](https://talk.openmrs.org/u/aidjali)\
**Post date:** [February 14, 2023, 11:46am UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555/3 "2023-02-14T11:46:33Z")

</div>

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 😕

 ![image](https://talk.openmrs.org/uploads/default/original/3X/1/d/1d122e136958389d0ed581a9c3cfa2a110bb6c6c.png)

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

---

<div class="post-metadata">

**Author:** ![binduak](https://talk.openmrs.org/letter_avatar/binduak/32/6_22734026db12803ebb3e059622ac3534.png) [@binduak](https://talk.openmrs.org/u/binduak)\
**Post date:** [February 15, 2023, 12:56pm UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555/4 "2023-02-15T12:56:56Z")

</div>

@aidjali this would require code changes as we see [here](https://github.com/Bahmni/openmrs-module-bahmniapps/blob/master/ui/app/adt/views/wardList.html#L15)

---

<div class="post-metadata">

**Author:** ![aidjali](https://talk.openmrs.org/letter_avatar/aidjali/32/6_22734026db12803ebb3e059622ac3534.png) [@aidjali](https://talk.openmrs.org/u/aidjali)\
**Post date:** [February 15, 2023, 4:42pm UTC](https://talk.openmrs.org/t/issues-translating-a-word-in-bahmni-lol/38555/5 "2023-02-15T16:42:22Z")

</div>

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) 😕 I think the issue then lies with the query itself
