code: public static String getLocalizedMessage(CmsMessageContainer container, ServletRequest request) {
  
          CmsObject cms = CmsFlexController.getCmsObject(request);
          return getLocalizedMessage(container, cms);
  
      }
docs: Returns the String for the given CmsMessageContainer localized to the current user's locale
  if available or to the default locale else.
  <p>
  
  This method allows a static method ({@link CmsJspTagInfo#infoTagAction(String, javax.servlet.http.HttpServletRequest)})
  that has no <code>pageContext</code> in scope to lookup the locale at request time.
  <p>
  
  @see #getLocalizedMessage(CmsMessageContainer, PageContext)
  @param container A CmsMessageContainer containing the message to localize.
  @param request The current request.
  @return the String for the given CmsMessageContainer localized to the current user's locale
  if available or to the default locale else.
  <p>