code: private Locale getWorkplaceLocale(CmsObject cms) {
  
          if (m_workplaceLocale == null) {
              m_workplaceLocale = OpenCms.getWorkplaceManager().getWorkplaceLocale(cms);
          }
          return m_workplaceLocale;
      }
docs: Returns the workplace locale.<p>
  
  @param cms the current OpenCms context
  
  @return the current users workplace locale