PHPackages                             mindtwo/wplang - 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. mindtwo/wplang

ActiveComposer-plugin[Localization &amp; i18n](/categories/localization)

mindtwo/wplang
==============

Composer plugin to download translation files from wordpress.org

2.1.1(3y ago)240.5k↑15%1GPL-2.0+PHP

Since Aug 10Pushed 3y agoCompare

[ Source](https://github.com/mindtwo/wplang)[ Packagist](https://packagist.org/packages/mindtwo/wplang)[ RSS](/packages/mindtwo-wplang/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

mindtwo/wplang
==============

[](#mindtwowplang)

Composer plugin to download translation files for WordPress core, plugins and themes from wordpress.org. Updated for Composer 2 and based in the [original repository by @bjornjohansen](https://github.com/bjornjohansen/wplang).

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

[](#installation)

First run:

```
composer require mindtwo/wplang

```

Edit your `composer.json` file, and add this lines at the following section:

```
"extra": {
    "wordpress-languages": [ "en_GB", "nb_NO", "sv_SE" ],
    "wordpress-language-dir": "wp-content/languages"
}

```

Customize the languages and language dir to suite your needs. Here's our list of used languages:

```
[ "ca", "da_DK", "de_DE", "en_US", "es_ES", "fi_FI", "fr_FR", "it_IT", "ja_JP", "nb_NO", "nl_NL", "pl_PL", "pt_PT", "ru_RU", "sv_SE", "tr_TR", "zh_CN" ]

```

Also as we're using [Bedrock](https://roots.io/bedrock/) from the [Roots](https://roots.io/) stack, we should change the wordpress-language-dir to:

```
web/app/languages

```

Finally run:

```
composer update

```

Now Composer will try to pull down translations for all your packages from wordpress.org every time you install or update a package.

Credits
-------

[](#credits)

This package Started as a fork of Angry Creative’s [Composer Auto Language Updates](https://github.com/Angrycreative/composer-plugin-language-update), but has since been rewritten. It is not compatible with the original package at all, but this package would probably not have existed with the first. There are probably some code in this package that the original author will still recognize. Last [fork](https://github.com/mirai-wordpress/wplang) for compatibility changes made by [Mirai](https://mirai.com).

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 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 ~238 days

Recently: every ~302 days

Total

7

Last Release

1404d ago

Major Versions

0.1.1 → 2.02021-03-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cc86fe6179314d204b14d1c81eb09a87ef84b0bcf2360dcd981171d1346c077?d=identicon)[mindtwo](/maintainers/mindtwo)

---

Top Contributors

[![raulillana](https://avatars.githubusercontent.com/u/1171669?v=4)](https://github.com/raulillana "raulillana (6 commits)")[![jonasemde](https://avatars.githubusercontent.com/u/5083193?v=4)](https://github.com/jonasemde "jonasemde (4 commits)")[![bjornjohansen](https://avatars.githubusercontent.com/u/399136?v=4)](https://github.com/bjornjohansen "bjornjohansen (2 commits)")[![FacundoCerezo](https://avatars.githubusercontent.com/u/19938617?v=4)](https://github.com/FacundoCerezo "FacundoCerezo (2 commits)")[![SeifertDaniel](https://avatars.githubusercontent.com/u/9882400?v=4)](https://github.com/SeifertDaniel "SeifertDaniel (1 commits)")[![viktorhaid](https://avatars.githubusercontent.com/u/52320564?v=4)](https://github.com/viktorhaid "viktorhaid (1 commits)")

### Embed Badge

![Health badge](/badges/mindtwo-wplang/health.svg)

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

###  Alternatives

[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)[drupal-composer/drupal-l10n

Composer Plugin for downloading Drupal translation files

11341.8k](/packages/drupal-composer-drupal-l10n)[inpsyde/multilingual-press

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

2414.0k1](/packages/inpsyde-multilingual-press)[bjornjohansen/wplang

Composer plugin to download translation files from wordpress.org

2149.4k](/packages/bjornjohansen-wplang)

PHPackages © 2026

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