PluralTranslatableMarkup::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.

Deprecated

in drupal:8.7.0 and is removed from drupal:9.0.0. Use Drupal\Component\Gettext\PoItem::DELIMITER instead.

File

core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php, line 22

Class

PluralTranslatableMarkup
A class to hold plural translatable markup.

Namespace

Drupal\Core\StringTranslation

Code

const DELIMITER = PoItem::DELIMITER;

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