Plurals.php
Simple Machines Forum (SMF)
Tags
Table of Contents
Functions
- plurals() : array<string|int, mixed>
- Helper function for SMF\Localization\MessageFormatter::formatMessage.
Functions
plurals()
Helper function for SMF\Localization\MessageFormatter::formatMessage.
plurals() : array<string|int, mixed>
Rules compiled from: https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-core/supplemental/plurals.json https://github.com/unicode-org/cldr-json/blob/main/cldr-json/cldr-core/supplemental/ordinals.json
Developers: Do not update the data in this function manually. Instead, run "php -f other/update_unicode_data.php" on the command line.
Return values
array<string|int, mixed> —Pluralization rules for different languages