PHPackages                             wpzapp/message-selector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. wpzapp/message-selector

ActiveWpzapp-lib[Localization &amp; i18n](/categories/localization)

wpzapp/message-selector
=======================

Selects the correct portion of a pluralized message based on a given number.

06PHP

Since Aug 13Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wpzapp/message-selector)[ Packagist](https://packagist.org/packages/wpzapp/message-selector)[ RSS](/packages/wpzapp-message-selector/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/a6579c6137089ef9819980caad2700c2d4ed64b933df50272269b32c29c47af4/68747470733a2f2f6170692e7472617669732d63692e6f72672f77707a6170702f6d6573736167652d73656c6563746f722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/wpzapp/message-selector)[![Code Climate](https://camo.githubusercontent.com/0325b1fe5b3ab19d454087eab297b2f268578de6ad8b2f6dc9eafcb44632e82d/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f77707a6170702f6d6573736167652d73656c6563746f722f6261646765732f6770612e737667)](https://codeclimate.com/github/wpzapp/message-selector)[![Test Coverage](https://camo.githubusercontent.com/535f278be426c4515f2265b1f8e0568cbf250973075f26bce59f095f39c17c7a/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f77707a6170702f6d6573736167652d73656c6563746f722f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/wpzapp/message-selector/coverage)[![Latest Stable Version](https://camo.githubusercontent.com/adf56091cd9cdcbb9ff874f56bb7e3b7283b82256e609afcc47f9bbdf678fa32/68747470733a2f2f706f7365722e707567782e6f72672f77707a6170702f6d6573736167652d73656c6563746f722f76657273696f6e)](https://packagist.org/packages/wpzapp/message-selector)[![License](https://camo.githubusercontent.com/456fe27c3f117a9e0a7341b72ccc776bb5d4ab3d4bcb842e6c5acc0ea950564d/68747470733a2f2f706f7365722e707567782e6f72672f77707a6170702f6d6573736167652d73656c6563746f722f6c6963656e7365)](https://packagist.org/packages/wpzapp/message-selector)

WP-ZAPP: Message Selector
=========================

[](#wp-zapp-message-selector)

Selects the correct portion of a pluralized message based on a given number.

Extracted from the [Symfony Translation Component](https://github.com/symfony/translation).

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a60abe9a2c42fe5cf2117b88aac2eab186f0ea3c969f1f4a29d4a09d831153b8?d=identicon)[felixarntz](/maintainers/felixarntz)

### Embed Badge

![Health badge](/badges/wpzapp-message-selector/health.svg)

```
[![Health](https://phpackages.com/badges/wpzapp-message-selector/health.svg)](https://phpackages.com/packages/wpzapp-message-selector)
```

###  Alternatives

[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
