This GoC logo sits in the "wxt_language_block" and this block did not receive the content of the "logo_sig_svg" variable (it is null). So the "src" of the image in the theme is empty.

  if (isset($variables['plugin_id']) && $variables['plugin_id'] == 'wxt_language_block:language_interface') {
      /** @var \Drupal\wxt_library\LibraryService $wxt */
      $wxt = \Drupal::service('wxt_library.service_wxt');
      $wxt_active = $wxt->getLibraryName();
      $library_path = $wxt->getLibraryPath();

      if ($wxt_active == 'gcwu_fegc') {
        $variables['logo_sig_svg'] = $library_path . '/assets/sig-' . $language . '.svg';
      }
    }

I will submit a patch to add the previous lines.

Comments

xmacinfo created an issue. See original summary.

xmacinfo’s picture

Status: Active » Needs review
StatusFileSize
new1.21 KB

Adding the patch for review.

  • sylus committed f084386 on 8.x-1.x authored by xmacinfo
    Issue #3081618 by xmacinfo: Bilingual GoC logo in the Internet (...
sylus’s picture

Status: Needs review » Fixed

This looks good! Thanks for the catch!

Committed and attributed :D

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.