PHPackages                             wpbp/language - 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. wpbp/language

AbandonedArchivedLibrary[Localization &amp; i18n](/categories/localization)

wpbp/language
=============

Function wrapper for register,unregister,get language and get string for WPML, Polylang and Ceceppa Multilingua

1.0.0(9y ago)12.5k↓100%GPL-3.0PHP

Since Jun 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/WPBP/Language)[ Packagist](https://packagist.org/packages/wpbp/language)[ Docs](https://github.com/WPBP/Language)[ RSS](/packages/wpbp-language/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Language
========

[](#language)

[![License](https://camo.githubusercontent.com/1b0c7e4911720d0444c16a1ffd145a039f14a1a7305362ab51184f757a4dd6bc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d47504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/gpl-3.0)[![Downloads](https://camo.githubusercontent.com/f1c3e98a48ba0c39c02d2095c98d22c3b56f2d41bc8568a660b4788b76b20a8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f6c616e67756167652e737667)](https://camo.githubusercontent.com/f1c3e98a48ba0c39c02d2095c98d22c3b56f2d41bc8568a660b4788b76b20a8d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f777062702f6c616e67756167652e737667)

Wrap specific methods to get string or register it or get the language for Ceceppa Multilingua, Polylang and WPML plugins.

Install
-------

[](#install)

`composer require wpbp/language:dev-master`

[composer-php52](https://github.com/composer-php52/composer-php52) supported.

Example
-------

[](#example)

```
echo get_language();

register_string( 'Test Wrapper', 'Test in progress', 'You are testing this wrapper' );

echo get_string( 'Test Wrapper', 'Test in progress', 'You are testing this wrapper' );

//Uncomment this after checked that in the plugin settings the string exist
deregister_string( 'Test Wrapper', 'Test in progress' );
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3608d ago

### Community

Maintainers

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

---

Top Contributors

[![Mte90](https://avatars.githubusercontent.com/u/403283?v=4)](https://github.com/Mte90 "Mte90 (6 commits)")

---

Tags

wordpresswordpress-php-librarywordpresslanguagemultilanguagepolylanglocaleswpml

### Embed Badge

![Health badge](/badges/wpbp-language/health.svg)

```
[![Health](https://phpackages.com/badges/wpbp-language/health.svg)](https://phpackages.com/packages/wpbp-language)
```

###  Alternatives

[lunetics/locale-bundle

A Bundle for switching Languages

1861.1M8](/packages/lunetics-locale-bundle)[gettext/languages

gettext languages with plural rules

7530.3M10](/packages/gettext-languages)[whitecube/lingua

A PHP language codes converter, from and to the most common formats (ISO, W3C, PHP and human-readable names).

441.2M15](/packages/whitecube-lingua)[grappler/polylang-slug

Allows same slug for multiple languages in Polylang

29511.8k](/packages/grappler-polylang-slug)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[wcm/wcm-lang-switch

Adds a button to the admin toolbar. This buttons allows users to seamlessly switch between available languages..

212.0k](/packages/wcm-wcm-lang-switch)

PHPackages © 2026

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