PHPackages                             lwplugins/lw-translate - 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. lwplugins/lw-translate

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

lwplugins/lw-translate
======================

Manage WordPress translations from community repositories

v1.0.10(3mo ago)11GPL-2.0-or-laterPHPPHP &gt;=8.1CI passing

Since Feb 7Pushed 2mo agoCompare

[ Source](https://github.com/lwplugins/lw-translate)[ Packagist](https://packagist.org/packages/lwplugins/lw-translate)[ Fund](https://sinann.io/)[ RSS](/packages/lwplugins-lw-translate/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (10)Versions (13)Used By (0)

LW Translate
============

[](#lw-translate)

Manage WordPress translations from community repositories — directly from your admin dashboard.

LW Translate connects to GitHub-hosted translation repositories (like [hellowpio/wordpress-translations](https://github.com/hellowpio/wordpress-translations)) and lets you browse, install, update, and delete translations for your installed plugins and themes with a single click.

[![LW Translate](.github/screenshot.png)](.github/screenshot.png)

Features
--------

[](#features)

- **Translation browser** — WP\_List\_Table with search, sort, filter, and pagination
- **One-click install/update** — download translation files directly to `WP_LANG_DIR`
- **SHA-based update detection** — compares git blob hashes, no unnecessary downloads
- **Formal &amp; informal tone** — switch between translation variants (e.g. polite vs. familiar)
- **Multi-locale support** — works with any locale available in the repository
- **Bulk actions** — install, update, or delete multiple translations at once
- **Smart caching** — GitHub API responses cached with configurable TTL
- **Safe file operations** — uses `WP_Filesystem` for all writes

Requirements
------------

[](#requirements)

- PHP 8.1+
- WordPress 6.0+

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

[](#installation)

### Via Composer

[](#via-composer)

```
composer require lwplugins/lw-translate
```

### Manual

[](#manual)

1. Download the latest release ZIP from [Releases](https://github.com/lwplugins/lw-translate/releases)
2. Upload to `wp-content/plugins/`
3. Activate in WordPress admin

Usage
-----

[](#usage)

1. Go to **LW Plugins → Translate** to browse available translations
2. Click **Install** or **Update** next to any item
3. Configure tone, locale, and cache TTL in **LW Plugins → Translate Settings**

### Translation Status

[](#translation-status)

IconMeaning✔ GreenUp to date — local and remote SHA match↻ OrangeUpdate available — remote version differs— GreyNot installed — no local translation fileHow It Works
------------

[](#how-it-works)

1. Fetches the full repository tree via [GitHub Trees API](https://docs.github.com/en/rest/git/trees)
2. Parses files matching `{tone}/{plugins|themes}/{locale}/{slug}/`
3. Cross-references with installed plugins/themes
4. Compares local `.mo` file SHA with remote SHA to detect updates
5. Downloads files via raw GitHub URL and writes them with `WP_Filesystem`

Settings
--------

[](#settings)

OptionDefaultDescriptionTone`formal`Formal or informal translation variantLocale`hu_HU`Target locale codeCache TTL`43200`GitHub tree cache duration in seconds (12h)Documentation
-------------

[](#documentation)

See [docs/user-guide.md](docs/user-guide.md) for the full user guide.

Development
-----------

[](#development)

```
# Install dependencies
composer install

# Run code standards check
composer phpcs

# Auto-fix fixable issues
composer phpcbf
```

License
-------

[](#license)

GPL-2.0-or-later — see [LICENSE](https://www.gnu.org/licenses/gpl-2.0.html)

Sponsor
-------

[](#sponsor)

[ ![Sinann](https://camo.githubusercontent.com/08cb3e29f7e91a32ff084d73f5e4c33b6ac8f3508f20dfe040357e9a94c5952b/68747470733a2f2f73696e616e6e2e696f2f66617669636f6e2e737667)](https://sinann.io/)Supported by [Sinann](https://sinann.io/)

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance83

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90.5% 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 ~4 days

Total

11

Last Release

104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/56bc0e3c885c56236e52eaed12997aa4fbaf0645299acf0092a8cc5b887d65b0?d=identicon)[trueqap](/maintainers/trueqap)

---

Top Contributors

[![trueqap](https://avatars.githubusercontent.com/u/32407751?v=4)](https://github.com/trueqap "trueqap (19 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/lwplugins-lw-translate/health.svg)

```
[![Health](https://phpackages.com/badges/lwplugins-lw-translate/health.svg)](https://phpackages.com/packages/lwplugins-lw-translate)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[october/rain

October Rain Library

1601.7M83](/packages/october-rain)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45444.2k1](/packages/pressbooks-pressbooks)[rainlab/translate-plugin

Translate plugin for October CMS

12768.5k10](/packages/rainlab-translate-plugin)[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k16.4k79](/packages/elgg-elgg)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)

PHPackages © 2026

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