code: private void readLocale(CmsResource res) {
  
          Locale locale = OpenCms.getLocaleManager().getDefaultLocale(m_cms, res);
          m_localeCache.put(res, locale);
      }
docs: Reads the locale for the given resource.<p>
  
  @param res the locale for the resource