PHPackages                             mediawiki/cldr - 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. mediawiki/cldr

ActiveMediawiki-extension[Localization &amp; i18n](/categories/localization)

mediawiki/cldr
==============

CLDR extension contains local language names for different languages, countries, and currencies extracted from CLDR data

2026.02(2mo ago)89.0k↓33.3%10GPL-2.0-or-laterPHP

Since Feb 28Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/wikimedia/mediawiki-extensions-cldr)[ Packagist](https://packagist.org/packages/mediawiki/cldr)[ Docs](https://www.mediawiki.org/wiki/Extension:CLDR)[ RSS](/packages/mediawiki-cldr/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (457)Used By (0)

mediawiki/extensions/cldr
=========================

[](#mediawikiextensionscldr)

This extension extracts a subset of core CLDR data and makes it available to PHP.

Currently, it provides the following:

- Country names
- Currency names and symbols
- Language names
- Units of time

Installation
------------

[](#installation)

Clone the source to MediaWiki `extensions/` and enable it in `LocalSettings.php`:

```
wfLoadExtension( 'cldr' );

```

Updating data
-------------

[](#updating-data)

Look up the latest release of [CLDR](https://www.unicode.org/cldr/repository_access.html) and note the version number.

Update the version number in `CLDR_CORE_URL` in `Makefile`. Run `make`:

```
make all

```

Example usage
-------------

[](#example-usage)

```
	if ( ExtensionRegistry::isLoaded( 'cldr' ) ) {
		// Get the English translation of all available language names.
		$languages = LanguageNames::getNames( 'en' ,
			LanguageNames::FALLBACK_NATIVE,
			LanguageNames::LIST_MW_AND_CLDR
		);
	} else {
		// Fall back to the MediaWiki core function without CLDR.
		$languages = Language::getLanguageNames( false );
	}
```

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance88

Actively maintained with recent releases

Popularity31

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor4

4 contributors hold 50%+ of commits

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

Every ~66 days

Recently: every ~172 days

Total

73

Last Release

64d ago

Major Versions

2021.12 → 2022.012022-01-27

2022.10 → 2023.012023-01-25

2023.12 → 2024.012024-01-31

2024.07 → 2025.032025-03-25

2025.07 → 2026.022026-03-16

PHP version history (3 changes)2016.04PHP &gt;=5.5.9

2020.01PHP &gt;=7.1

2023.04PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9732a3e672726694dc83efdc70835016fb1a8d67f9abfce5b9cae1e11204822d?d=identicon)[Nikerabbit](/maintainers/Nikerabbit)

---

Top Contributors

[![raymondde](https://avatars.githubusercontent.com/u/4243486?v=4)](https://github.com/raymondde "raymondde (121 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (85 commits)")[![codders](https://avatars.githubusercontent.com/u/17782?v=4)](https://github.com/codders "codders (74 commits)")[![reedy](https://avatars.githubusercontent.com/u/67615?v=4)](https://github.com/reedy "reedy (65 commits)")[![amire80](https://avatars.githubusercontent.com/u/346271?v=4)](https://github.com/amire80 "amire80 (42 commits)")[![umherirrender](https://avatars.githubusercontent.com/u/1174884?v=4)](https://github.com/umherirrender "umherirrender (36 commits)")[![mbch331](https://avatars.githubusercontent.com/u/12393536?v=4)](https://github.com/mbch331 "mbch331 (26 commits)")[![siebrand](https://avatars.githubusercontent.com/u/210297?v=4)](https://github.com/siebrand "siebrand (23 commits)")[![lucaswerkmeister](https://avatars.githubusercontent.com/u/2346599?v=4)](https://github.com/lucaswerkmeister "lucaswerkmeister (20 commits)")[![legoktm](https://avatars.githubusercontent.com/u/81392?v=4)](https://github.com/legoktm "legoktm (20 commits)")[![mjbmr](https://avatars.githubusercontent.com/u/79009583?v=4)](https://github.com/mjbmr "mjbmr (15 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (11 commits)")[![adamwight](https://avatars.githubusercontent.com/u/819437?v=4)](https://github.com/adamwight "adamwight (8 commits)")[![thiemowmde](https://avatars.githubusercontent.com/u/6576639?v=4)](https://github.com/thiemowmde "thiemowmde (7 commits)")[![MatmaRex](https://avatars.githubusercontent.com/u/160413?v=4)](https://github.com/MatmaRex "MatmaRex (7 commits)")[![jhsoby](https://avatars.githubusercontent.com/u/1954097?v=4)](https://github.com/jhsoby "jhsoby (6 commits)")[![jdforrester](https://avatars.githubusercontent.com/u/881572?v=4)](https://github.com/jdforrester "jdforrester (6 commits)")[![santhoshtr](https://avatars.githubusercontent.com/u/161672?v=4)](https://github.com/santhoshtr "santhoshtr (6 commits)")[![kaldari](https://avatars.githubusercontent.com/u/1707155?v=4)](https://github.com/kaldari "kaldari (5 commits)")[![winstonsung](https://avatars.githubusercontent.com/u/52590365?v=4)](https://github.com/winstonsung "winstonsung (4 commits)")

### Embed Badge

![Health badge](/badges/mediawiki-cldr/health.svg)

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

###  Alternatives

[mediawiki/translate

The only standard solution to translate any kind of text with an avant-garde web interface within MediaWiki, including your documentation and software

457.9k](/packages/mediawiki-translate)[mediawiki/universal-language-selector

The primary aim is to allow users to select a language and configure its support in an easy way. Main features are language selection, input methods and web fonts.

2418.6k](/packages/mediawiki-universal-language-selector)[mediawiki/semantic-interlanguage-links

A Semantic Mediawiki extension to create and manage interlanguage links.

125.9k](/packages/mediawiki-semantic-interlanguage-links)[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)
