Yireo Additional Language File

yireo/magento2-additional-language-file

Lets a theme load a second i18n language file (e.g. en_US_additional.csv) on top of the standard one, so child themes can override specific translation strings without editing the inherited file.

No errors foundPHPStan level 9Build passingSemVer compliant
Supported Magento versions
2.4.9
License
OSL-3.0
Categories
Content Management, Developer Tools

13 installs★ 3 stars0 downloads/monthLatest: v0.1.1Released 2025-10-22

composer require yireo/magento2-additional-language-file

README

Reproduced from the package’s own README, under its own license, as of 2026-10-31. Links and images point back at the source repository.

Yireo AdditionalLanguageFile

Magento version PHP version License Latest Version

This Magento 2 module adds the ability to add an extra language file to your theme.

Overview

Every theme has the ability to override language strings in a file like i18n/en_US.csv. This module allows you to add a second file i18n/en_US_additional.csv which is loaded on top of the original file. The benefit of this is that you can have a parent theme that fills up the en_US.csv which is then inherited in the child theme. Yet using this module, you can make specific overrides in the additional language file.

Installation

Install this module within Magento 2 using composer:

composer require yireo/magento2-additional-language-file

And of course afterwards use the regular commands to enable the module.

Technical architecture

This module remaps the preference for the original Magento\Framework\Translate file to a new class.

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation

← All packages from yireo