PHPackages                             sensejus/magento2-translation-merger - 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. sensejus/magento2-translation-merger

ActiveMagento2-module

sensejus/magento2-translation-merger
====================================

Merge translations from magento i18n:collect command result with current theme translations

v1.0.0(9y ago)22833OSL-3.0PHPPHP ~5.5.0|~5.6.0|~7.0.0

Since Nov 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/sensejus/magento2-translation-merger)[ Packagist](https://packagist.org/packages/sensejus/magento2-translation-merger)[ RSS](/packages/sensejus-magento2-translation-merger/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Magento 2 Translations Merger
=============================

[](#magento-2-translations-merger)

Merge translations from magento i18n:collect command result with current theme translations. So each time you add some new translatable strings into your templates, you will be able to update your theme/module translation files automatically by running:

Example:

##### php bin/magento i18n:collect-phrases --output "app/i18n/Vendorname/sv\_SE/sv\_SE.csv" --magento

[](#php-binmagento-i18ncollect-phrases---output-appi18nvendornamesv_sesv_secsv---magento)

##### php bin/magento translation-merger:merge app/i18n/Vendorname/sv\_SE/ app/design/frontend/Yourtheme/Yourthemepackage/i18n/ sv\_SE

[](#php-binmagento-translation-mergermerge-appi18nvendornamesv_se-appdesignfrontendyourthemeyourthemepackagei18n-sv_se)

This module fix magento issue then running bin/magento i18n:pack , for some reason it just replaces your current theme/module csv translations and not merges them.

Installation
============

[](#installation)

Add this to your composer.json

```
  "require-dev": {
        "sensejus/magento2-translation-merger":"1.0.0"
    }
```

Run

```
composer update

```

or just run

```
composer require sensejus/magento2-translation-merger

```

Usage
=====

[](#usage)

### bin/magento translation-merger:merge \[input-directory\] \[output-directory\] \[locale\]

[](#binmagento-translation-mergermerge-input-directory-output-directory-locale)

#### Arguments:

[](#arguments)

**input-directory** *- Input directory of collected Magento CSV file. (Default: app/i18n/)*

**output-directory** *- Output directory of collected Magento CSV file. (Default: app/design/frontend/base/i18n/)*

**locale** *- Locale (Default: en\_US)*

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

3457d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc8bfc7321e60c31549be0c44eb0d36ba7a49d2b1ee4848f3251084ddeea5a8?d=identicon)[xclussive](/maintainers/xclussive)

---

Top Contributors

[![kiprasbal](https://avatars.githubusercontent.com/u/3834006?v=4)](https://github.com/kiprasbal "kiprasbal (20 commits)")

### Embed Badge

![Health badge](/badges/sensejus-magento2-translation-merger/health.svg)

```
[![Health](https://phpackages.com/badges/sensejus-magento2-translation-merger/health.svg)](https://phpackages.com/packages/sensejus-magento2-translation-merger)
```

PHPackages © 2026

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