function PoHeader::setLanguageName

Same name in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()
  3. 10 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()

Set the human readable language name.

Parameters

string $languageName: Human readable language name.

File

core/lib/Drupal/Component/Gettext/PoHeader.php, line 98

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

public function setLanguageName($languageName) {
    $this->languageName = $languageName;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.