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)243.0k↑91.7%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 yesterday

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 81% 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

1450d 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

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k16.7M1.0k](/packages/phpro-grumphp)[symfony/runtime

Enables decoupling PHP applications from global state

74798.8M1.0k](/packages/symfony-runtime)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5344.1M563](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2124.7M203](/packages/drupal-core-project-message)[oro/platform

Business Application Platform (BAP)

645143.5k115](/packages/oro-platform)[sandersander/composer-link

Adds ability to link local packages for development with composer

98457.9k](/packages/sandersander-composer-link)

PHPackages © 2026

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