View Issue Details

IDProjectCategoryView StatusLast Update
0000060Oberon PlatformPlatform functionalitiespublic2011-08-12 14:47
Reporteradministrator Assigned Toadministrator  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.3 - DB build 0060 
Target Version2.4 - DB build 0062Fixed in Version2.4 - DB build 0062 
Summary0000060: Exception message localization
DescriptionThe platform exceptions are not localized for the user language
TagsNo tags attached.

Activities

administrator

2011-08-12 14:47

administrator   ~0000093

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)

Issue History

Date Modified Username Field Change
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