PoItem::DELIMITER

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::DELIMITER
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::DELIMITER
  3. 10 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::DELIMITER

The delimiter used to split plural strings.

This is the ETX (End of text) character and is used as a minimal means to separate singular and plural variants in source and translation text. It was found to be the most compatible delimiter for the supported databases.

File

core/lib/Drupal/Component/Gettext/PoItem.php, line 20

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

const DELIMITER = "\x03";

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