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.

8 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.
locale_translate_edit_form_submit in drupal/core/modules/locale/locale.pages.inc
Form submission handler for locale_translate_edit_form().
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.

... See full list

File

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

Code

const LOCALE_PLURAL_DELIMITER = "\3";