Oblik Studio

Plurals

Allows you to use language variables to translate a string according to that language's plural forms defined in the Unicode CLDR

tp('apples', ['count' => 1]);
// 1 apple
tp('apples', ['count' => 3]);
// 3 apples
tp('place', ['position' => 1]);
// 1st
tp('cookies', ['start' => 3, 'end' => 4]);
// 3-4 cookies
Version
1.0.0
License
MIT
Stars
17
Supports
K4 K3
Updated
4 Apr 2020
Implements
Latest releases
More