code: public static LocalizationContext getLocalizationContext(PageContext pc) {
          LocalizationContext locCtxt = null;
  
          Object obj = Config.find(pc, Config.FMT_LOCALIZATION_CONTEXT);
          if (obj == null) {
              return null;
          }
  
          if (obj instanceof LocalizationContext) {
              locCtxt = (LocalizationContext) obj;
          } else {
              // localization context is a bundle basename
              locCtxt = getLocalizationContext(pc, (String) obj);
          }
  
          return locCtxt;
      }
docs: Gets the default I18N localization context.
  
  @param pc Page in which to look up the default I18N localization context