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

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

bjornjohansen/wplang
====================

Composer plugin to download translation files from wordpress.org

0.3.0(1y ago)2149.4k—6.4%14GPL-2.0+PHPPHP &gt;=7.2

Since Aug 10Pushed 1y ago3 watchersCompare

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

READMEChangelog (2)Dependencies (7)Versions (7)Used By (0)

bjornjohansen/wplang
====================

[](#bjornjohansenwplang)

Composer plugin to download translation files for WordPress core, plugins and themes from wordpress.org.

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

[](#installation)

First run:

```
composer require bjornjohansen/wplang

```

**Note**: If you running Composer v1, make sure to require a version less than `0.2.0`.

Then you’ll have to edit your `composer.json` file. You need to add the following section:

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

```

You should probably want to customize these values to suit your needs.

Finally run:

```
composer update

```

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

CS and Testing
--------------

[](#cs-and-testing)

### Prerequisites

[](#prerequisites)

In order to get a more consistent code style and introduce testing the project provides some commands to test in an isolated environment. To use the `Makefile`, ensure the following dependencies are installed on your system:

- **GNU Make**: Required to execute the Makefile commands. Install it via your system's package manager.
- **Docker (Docker Build/Docker Compose)**: See  for installation instructions.

### Usage

[](#usage)

The `Makefile` includes commands to simplify common development and deployment tasks. Run any of the following commands by typing `make ` in your terminal:

- **make help** Output a help section with a brief description of the commands
- **make setup** Setup containers and development dependencies. This should run after `composer install` in a dev environment, but can be run manually if something is missing or has changed.
- **make composer** This runs composer in the PHP 7.2 docker container. Pass additional flags like with the `c=""` option, e.g., `make composer c="install --no-autoloader"`
- **make test** Run PHPUnit tests.
- **make checkcs** Check the code style against the defined `phpcs` rules.
- **make fixcs** Fix the issues found by `phpcs` with `phpcbf`.
- **make compat** Check if the code is compatible with the specified PHP version.

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.

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance49

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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

Every ~615 days

Total

5

Last Release

377d ago

### Community

Maintainers

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

---

Top Contributors

[![alpipego](https://avatars.githubusercontent.com/u/2003667?v=4)](https://github.com/alpipego "alpipego (7 commits)")[![bjornjohansen](https://avatars.githubusercontent.com/u/399136?v=4)](https://github.com/bjornjohansen "bjornjohansen (3 commits)")[![SeifertDaniel](https://avatars.githubusercontent.com/u/9882400?v=4)](https://github.com/SeifertDaniel "SeifertDaniel (3 commits)")[![burnedram](https://avatars.githubusercontent.com/u/1688771?v=4)](https://github.com/burnedram "burnedram (1 commits)")

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/bjornjohansen-wplang/health.svg)](https://phpackages.com/packages/bjornjohansen-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)

PHPackages © 2026

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