code: public function handle(GetOptionsEvent $event)
      {
          if (!$this->wantToHandle($event)) {
              return;
          }
  
          $event->setOptions(array_flip(array_filter(array_flip(System::getLanguages()), function ($langCode) {
              // Disable >2 char long language codes for the moment.
              return (strlen($langCode) == 2);
          })));
      }
docs: Prepare the language options.
  
  @param GetOptionsEvent $event The event.
  
  @return void