webservices_rest does not localize alarms from Spanish to English using "US"
search cancel

webservices_rest does not localize alarms from Spanish to English using "US"

book

Article ID: 274321

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

webservices_rest get alarms translation from other language (spanish) to english only works if "*" or "-" is included in the string. 
 
Example: http://<webservices_rest_server>/rest/alarms?language=US
 
 
US
EN
en
 
DO NOT WORK, they still return Spanish. 
 
 
From Spanish the following work fine:
 
DE -> Translate to German
JA -> Transflate to Japanese
ES -> translate to Spanish (from English on my lab) 
 
 
HOWEVER:
 
Without anything it returns Spanish
 
 

with DE, it works (Translates to German)

with JA, it works Translates to German japonés)

with US, it doesn't  work (returns spanish)

with EN, it doesn't  work (returns spanish)

with en, it doesn't  work (returns spanish)

Environment

Release : UIM 20.4 CU8 and earlier

Cause

Code Defect in webservices_rest 

Resolution

The fix webservices_rest 20.4.9 which included in UIM 20.4 CU9 and also attached to this KB. 

With the fix, using "US" works as it translates alarms from Spanish to English as expected.  

Additional Information

UIMAPI does not localize alarms from Spanish to English using "US" (broadcom.com)

Attachments

webservices_rest-20.4.9_1696232657963.zip get_app