function PoHeader::setLanguageName
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()
- 8.9.x core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()
- 11.x 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\GettextCode
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.