Define and manage Plural forms for Translatable strings. The module provides necessary User Interface to manage Plural forms in a Drupal site.

Features

- As a site admin you would be able to select appropriate plural form for all enabled languages
- Provides a plugin system that can be used to develop custom Plural Forms via other modules

Drupal Core provides a mechanism to update Plural forms by uploading a PO file. However this may not be convenient solution for everybody. By enabling and using this module, Site Admins can select one of the available Plural Forms rules for a given language.

Post-Installation

After enabling the module, visit "/admin/config/regional/language/string-plural-form" to as Site Admin to configure the rules.

Additional Requirements

This modules doesn't have any other dependency than Drupal Core and Locale module which ships with Drupal.

N/A

Similar projects

- Plural formula configurator
- Locale Plural Formula (Unsupported Abandoned)

Following Issues are being worked on to improve the experience int his area,

- #2882617: String version of plural formula is not available, exported .po files contain an incorrect default
- #2273889: Don't use one language's plural index formula with another language's string in the case of untranslated strings using format_plural().
- #2660338: [pp-3] locale_get_plural call in PluralTranslatableString is wrong
- #3496223: Plural Formula gets ignored for Singular Case for languages where Singular Form is not found in the first index

Supporting this Module

- N/A

Community Documentation

- N/A

Other References

Following Links provides better understanding around handling of Plural Forms in Drupal

- Gettext Plural Forms Manual
- #519736: Plurals
- #566390: Apply locale import protection to the plural forms

Supporting organizations: 
funded development

Project information

Releases