code: protected function init()
      {
          parent::init();
  
          # Check for subsites and add support
          if (class_exists(Subsite::class)) {
              $subsite = Subsite::currentSubsite();
  
              if ($subsite && $subsite->Theme) {
                  SSViewer::add_themes([$subsite->Theme]);
              }
  
              if ($subsite && i18n::getData()->validate($subsite->Language)) {
                  i18n::set_locale($subsite->Language);
              }
          }
      }
docs: Overwrite default init to support subsites (if installed)
  
  @return void