Localization Standards

Screen Labels:

example Json :

{
"code": "TL_HOME_SEARCH_RESULTS_APP_NO_PLACEHOLDER",
"message": "Enter Application No.",
"module": "rainmaker-ws",
"locale": "en_IN"
}

 

code : Unique value , <moduleName>_<screenName>_fieldName_label/placeholder

message : Label to be displayed on the screen (any language)

module : rainmaker-<moduleName> (all lowercase)

locale : language code

 


 

City Labels:

example Json :

{
"code": "TENANT_TENANTS_PB_AMRITSAR",
"message": "Amritsar",
"module": "rainmaker-common",
"locale": "en_IN"
}

 

code : Unique value , <mdmsModuleName>_<mdmsMasterName>_<tenantId> (All special characters should be replaced by “_“ and lowercase to uppercase) ex : pb.amritsar → PB_AMRITSAR

message : Label to be displayed on the screen (any language)

module : rainmaker-common (all lowercase)

locale : language code

 


Locality Labels:

example Json :

{
"code": "PB_AMRITSAR_REVENUE_SUN04",
"message": "Ajit Nagar",
"module": "rainmaker-pb.amritsar",
"locale": "en_IN"
}

 

code : Unique value , <tenantId>_<heirarchyType>_<mohallaCode> (All special characters should be replaced by “_“ and lowercase to uppercase)

message : Label to be displayed on the screen (any language)

module : rainmaker-<tenantId> (all lowercase) ex : rainmaker-pb.amritsar

locale : language code

 

Postman Collection to push the codes:

https://www.getpostman.com/collections/811c08f94e62c3d1421c