How to configure MOSIP for single language deployment?

Here, we intend to deploy MOSIP with a single language. In order to do so, we need to make certain configuration and data-related changes in MOSIP. The details on how to make sure that MOSIP is deployed properly and can run easily in a single language is available here.

Instructions

Prerequisites

  1. The master data should be set up in a single language. The guide to set up master data for MOSIP is available here.

  2. The ID schema and UI specification (for Pre-registration and Registration Client) should be thought through and should be available.

Once the deployment of MOSIP is done, the below configuration needs to change.

Mandatory Configurations

For single language deployment, the below configurations must be changed.

  1. The properties related to primary and secondary language should be updated.

    application-mz.properties # Language Supported By Platform - ISO mosip.supported-languages=eng mosip.primary-language=eng mosip.secondary-language=eng

    The primary and secondary language should be set to one value. Here, we have assumed that the country we have selected for the deployment has one language i.e. English.

  2. The properties for notification language should be updated.

    application-mz.properties #******** Notification lanugage types - either PRIMARY or BOTH ******** mosip.notification.language-type=PRIMARY

    The value should be set to PRIMARY so that the notifications are sent only once. If it was set to BOTH then the notification body will contain two records.

Optional Configurations

  1. The properties for setting up orientation for screens during data capture should be set.

    #---Language orientation----- mosip.right_to_left_orientation= mosip.left_to_right_orientation=eng

    For English, the basic orientation is from left to right