constant LOCALE_PLURAL_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.

7 uses of LOCALE_PLURAL_DELIMITER
format_plural in drupal/core/includes/common.inc
Formats a string containing a count of items.
LanguageUpgradePathTest::testLanguageUpgrade in drupal/core/modules/system/lib/Drupal/system/Tests/Upgrade/LanguageUpgradePathTest.php
Tests a successful upgrade.
PoDatabaseWriter::writeItem in drupal/core/modules/locale/lib/Drupal/locale/PoDatabaseWriter.php
Implements Drupal\Component\Gettext\PoWriterInterface::writeItem().
PoItem::setFromArray in drupal/core/lib/Drupal/Component/Gettext/PoItem.php
Create the PoItem from a structured array.
PoMemoryWriter::writeItem in drupal/core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoWriterInterface::writeItem().

... See full list

File

drupal/core/includes/common.inc, line 189
Common functions that many Drupal modules will need to reference.

Code

const LOCALE_PLURAL_DELIMITER = "\3";