code: private void clearCaches() {
  
          // flush all caches
          OpenCms.getMemoryMonitor().flushCache(CmsMemoryMonitor.CacheType.LOCALE);
          CmsResourceBundleLoader.flushBundleCache();
  
          if (LOG.isDebugEnabled()) {
              LOG.debug(Messages.get().getBundle().key(Messages.LOG_LOCALE_MANAGER_FLUSH_CACHE_1, "EVENT_CLEAR_CACHES"));
          }
      }
docs: Clears the caches in the locale manager.<p>