question: public String localizeMessage ( String msg ) { String result = msg ; ResourceBundle catalog = m_logger . getResourceBundle ( ) ; if ( catalog != null ) { try { result = catalog . getString ( msg ) ; } catch ( java . util . MissingResourceException ex ) { result = msg ; } } return result ; }
target:  translate message to current locale