Language Selection

 

Link. → {base url}/mgramseva/selectLanguage

User will be Landed/ Navigated to Language Selection Screen

APP → Initial Screen

 

User Interaction on Screen

  • Users can switch to different languages which the application supports

  • Click on Continue to navigate to the next screen

File Path

Primary Files https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/SelectLanguage/languageSelection.dart

Secondary Files https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/SelectLanguage/DesktopView.dart https://github.com/egovernments/punjab-mgramseva/blob/develop/frontend/mgramseva/lib/screeens/SelectLanguage/MobileView.dart

 

Data Storage - LocalStorage

SL No

Key

Stored Data

SL No

Key

Stored Data

1

states_key

State Information for From MDMS Service

2.

ex :pn_IN,en_IN,hi_IN

Localisation codes

 

API Details

API EndPoint

Input Params (Modules)

Description

API EndPoint

Input Params (Modules)

Description

egov-mdms-service/v1/_search

 

common-masters

tenant

 

To Fetch the Details

State Info

  • Logo

  • background Image

  • Languages Supported

localization/messages/v1/_search?module={}locale={}tenantId={}

ALL the necessary Modules, with locale key and tenant Id

To Load the Localised data

 

Stack

0 → Langage Selection Screen

Pop → Application closes

Widgets Utilised from Library

SL No

Widgets Library

SL No

Widgets Library

1

Button Bar