Customization of Bahmni

Dears !

In Bahmni,

  1. How to change temperature format for F et C ? ?
  2. How to edit the web title ?
  3. Where is located in centos 7 the full message.properties where there may be find each openmrs:message data ?

Regards,

  1. Just go to backend OpenMRS concept dictionary and change the unit to C
  2. https://bahmni.atlassian.net/wiki/spaces/BAH/pages/115780492/Configure+White+Labeling
  3. thats usually overridden in the “config” bundle for an implementation - e.g. default-config/openmrs/i18n at master · Bahmni/default-config · GitHub

My Dear ! On question :

  1. I just understood and solve it after reading you more than two time.

  2. White Labeling is helping for Bahmni only, in this question, I was talking abour OpenMRS, I wanted to install .omod but it fails to load when I start them (custom branding module and custom message module), if I could be able to activate these modules, the issue 2 and 3 may be solved.

  3. I was asking the directory, as bahmni is installed on a centos 7; where is the directory it stores message:properties else than those stored in some directories which are limited to some messages only , it seems others messages are somewhere in another file. I need to know if it is in the local computer and not online.

Please assit,

With Regards,

  1. We don’t support CentOS based native installations anymore. EOL is june 2024 and we advise everyone to move out or atleast use Rocky Linux if you are a fan of CentOS.

  2. But the means are the same for your objectives. You need to place the OMODs in a openmrs modules directory. Bahmni has support to downloads OMODs but the existing script expects the OMOD files to be downloaded as .omod - if you are downloading using WGET (thats what the ansible scripts do) - then as I had mentioned earlier (diff thread?), you need to modify the ansible script. Right now the script does

wget https://addons.openmrs.org/api/v1/addon/org.openmrs.module.custommessage/1.3/download

Which results in the file being downloaded as “download” without the extension. It needs to be

wget https://addons.openmrs.org/api/v1/addon/org.openmrs.module.custombranding/0.2/download -O ./custombranding-0.2.omod

  1. The files would obviously need to be available offline if thats the deployment you have chosen. Typically every implementation would modify the “config” (and files in there) - so as I had mentioned, you may maintain all your translations overrides there - and then deploy the same on system.

typically the config files are found under

/opt/bahmni-web/etc/bahmni_config/

which is symlinked to

/var/www/bahmni_config