Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

What this module does

This module provides the ability to customize text messages on within OpenMRS web pages and persist them within database tablethe database and can be used to translate OpenMRS directly within the web application. Also, this module provides default an export feature that allows you to choose from the list of available locales and export all existing messages (both those that came from the properties files and those customized by the module) .  So you can just export the messages in a locale, this will construct a file calledin the form of a messages_xxx.properties , and you should just be able to take this and replace the appropriate one in corethat can be used to provide translations for the OpenMRS web application or for other modules.

Documentation / How-To

It took a slightly different approach of messages loading and overwriting than Database Messages Module. Within this module the original messages.properties files are retained as the primary message source, and the .  The messages stored in the custommessage module tables can override these values.  So, only customizations made by an implementation are stored in the custommessage tables. This means that if core or module message.properties are changed and re-uploaded, these new values will be used unless they have been explicitly overridden.  And it files are updated (e.g., during an upgrade), the customizations will be maintained.  It is easy to see exactly what has been changed and what is standard.

...

Download

https://modules.openmrs.org/modules/view.jsp?module=custommessage

Screenshots

With this module, you can easily customize a text message by its code. Everything All you just need is to select (or filter) interested message messages by code in left side panel. Right The right side panel will contain all available variants of this messages for currently supported locales with the ability to customize thisthem.

To change exact a message, just click on the Edit button in the message panel, enter your text, and press save. Changes will take effect immediately, ; no restart needed.


Also, you can filter messages by code or text using the Manage Messages page.

This module provides default an export feature that allows you to choose from the a list of available locales and export all existing messages (both those that came from the properties files and those customized by the module).

...

  • Initial alpha release

About

This module was initially developed by Mike Seaton~mseaton and enhanced by ~mvorobey.