• Contents

# 1. Introduction

The `Uize.Loc.Plurals.Langs.prg` module implements a feature for determining a plural category from a number value for the prg language.

DEVELOPERS: Chris van Rensburg

## 1.1. Plural Categories

 Plural Categories Category Rule zero n % 10 = 0 or n % 100 = 11..19 or v = 2 and f % 100 = 11..19 @integer 0, 10~20, 30, 40, 50, 60, 100, 1000, 10000, 100000, 1000000, … @decimal 0.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, … one n % 10 = 1 and n % 100 != 11 or v = 2 and f % 10 = 1 and f % 100 != 11 or v != 2 and f % 10 = 1 @integer 1, 21, 31, 41, 51, 61, 71, 81, 101, 1001, … @decimal 0.1, 1.0, 1.1, 2.1, 3.1, 4.1, 5.1, 6.1, 7.1, 10.1, 100.1, 1000.1, … other @integer 2~9, 22~29, 102, 1002, … @decimal 0.2~0.9, 1.2~1.9, 10.2, 100.2, 1000.2, …

## 1.2. Examples

There are no dedicated showcase example pages for the `Uize.Loc.Plurals.Langs.prg` module.

SEARCH FOR EXAMPLES

Use the link below to search for example pages on the UIZE Web site that reference the `Uize.Loc.Plurals.Langs.prg` module...

SEARCH

## 1.3. Implementation Info

The `Uize.Loc.Plurals.Langs.prg` module defines the `Uize.Loc.Plurals.Langs.prg` package under the `Uize.Loc.Plurals.Langs` namespace.

### 1.3.1. Features Introduced in This Module

The features listed in this section have been introduced in this module.

STATIC METHODS

`Uize.Loc.Plurals.Langs.prg.getPluralCategory`

STATIC PROPERTIES

`Uize.Loc.Plurals.Langs.prg.moduleName` | `Uize.Loc.Plurals.Langs.prg.pathToResources`

### 1.3.2. Features Overridden in This Module

No features have been overridden in this module.

### 1.3.3. Features Inherited From Other Modules

This module has no inherited features.

### 1.3.4. Modules Directly Under This Namespace

There are no modules directly under this namespace.

### 1.3.5. Unit Tests

There is no dedicated unit tests module for the `Uize.Loc.Plurals.Langs.prg` module.

# 2. Static Methods

## 2.1. Uize.Loc.Plurals.Langs.prg.getPluralCategory

IMPLEMENTATION INFO

 this feature was introduced in this module

# 3. Static Properties

## 3.1. Uize.Loc.Plurals.Langs.prg.moduleName

IMPLEMENTATION INFO

 this feature was introduced in this module

## 3.2. Uize.Loc.Plurals.Langs.prg.pathToResources

IMPLEMENTATION INFO

 this feature was introduced in this module