You are here

public function PoStreamWriter::setLangcode in Localization update 7.2

Set the language code.

Parameters

string $langcode: The language code.

Overrides PoMetadataInterface::setLangcode

File

includes/gettext/PoStreamWriter.php, line 70
Definition of Drupal\Component\Gettext\PoStreamWriter.

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Code

public function setLangcode($langcode) {
  $this->_langcode = $langcode;
}