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)2054.3k↑13.2%13GPL-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 3d 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 88% of packages

Maintenance45

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity52

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

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

[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.

5445.2M564](/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)
