You are here

7 string references to locale.plural.formula in Drupal 10

LocaleImportFunctionalTest::testStandalonePoFile in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
Tests import of standalone .po files.
locale_get_plural in core/modules/locale/locale.module
Returns plural form index for a specific number.
NumericFormatPluralTest::testNumericFormatPlural in core/modules/views/tests/src/Functional/Plugin/NumericFormatPluralTest.php
Tests plural formatting setting on a numeric views handler.
PluralTranslatableMarkup::getPluralIndex in core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php
Gets the plural index through the gettext formula.
PoDatabaseWriter::setHeader in core/modules/locale/src/PoDatabaseWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
StringTranslationTrait::getNumberOfPlurals in core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php
Returns the number of plurals supported by a given language.
_locale_rebuild_js in core/modules/locale/locale.module
(Re-)Creates the JavaScript translation file for a language.