docs: public static I_CmsMacroResolver newWorkplaceLocaleResolver(final CmsObject cms) {
  
          // Resolve macros in the property configuration
          CmsMacroResolver resolver = new CmsMacroResolver();
          resolver.setCmsObject(cms);
          CmsUserSettings userSettings = new CmsUserSettings(cms.getRequestContext().getCurrentUser());
          CmsMultiMessages multimessages = new CmsMultiMessages(userSettings.getLocale());
          multimessages.addMessages(OpenCms.getWorkplaceManager().getMessages(userSettings.getLocale()));
          resolver.setMessages(multimessages);
          resolver.setKeepEmptyMacros(true);
  
          return resolver;
      }