OBEROn - Bug Trace - Oberon Platform
Viewing Issue Advanced Details
60 Platform functionalities minor always 2011-08-12 13:18 2011-08-12 14:47
administrator  
administrator  
normal  
resolved 2.3 - DB build 0060  
fixed  
none    
none 2.4 - DB build 0062  
0000060: Exception message localization
The platform exceptions are not localized for the user language
Issue History
2011-08-12 13:18 administrator New Issue
2011-08-12 13:19 administrator Fixed in Version => 2.4 build 006x
2011-08-12 13:19 administrator Target Version => 2.4 build 006x
2011-08-12 14:47 administrator Note Added: 0000093
2011-08-12 14:47 administrator Status new => resolved
2011-08-12 14:47 administrator Resolution open => fixed
2011-08-12 14:47 administrator Assigned To => administrator

Notes
(0000093)
administrator   
2011-08-12 14:47   
The OberonException class supports now message localization by dictionary translation; added new methods:

constructor - public OberonException(String errorKey, Object[] params)
     errorKey the dictionary keyword for message translation
     params parameters to be replaced in the message

 Get the localized exception message.
 Translate the message to the given or current user language and search for translation inside the specified section

public String getLocalizedMessage(HttpSession session)
public String getLocalizedMessage(Framework framework)

public String getLocalizedMessage(String errorSection, HttpSession session)
public String getLocalizedMessage(String errorSection, Framework framework)

public String getLocalizedMessage(String language, String errorSection, HttpSession session)
public String getLocalizedMessage(String language, String errorSection, Framework framework)