public function PoItem::setLangcode in Localization update 7.2
Set the language code of the current language.
Parameters
string $langcode: The translation language code.
File
- includes/
gettext/ PoItem.php, line 82 - Definition of Drupal\Component\Gettext\PoItem.
Class
- PoItem
- PoItem handles one translation.
Code
public function setLangcode($langcode) {
$this->_langcode = $langcode;
}