PHPackages                             itplusx/xliftojson - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. itplusx/xliftojson

ActiveTypo3-flow-package[Utility &amp; Helpers](/categories/utility)

itplusx/xliftojson
==================

Add description here

01.7kPHP

Since Jun 29Pushed 10y ago2 watchersCompare

[ Source](https://github.com/itplusx/ITplusX.XlifToJson)[ Packagist](https://packagist.org/packages/itplusx/xliftojson)[ RSS](/packages/itplusx-xliftojson/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

XlifToJson
==========

[](#xliftojson)

Description
-----------

[](#description)

### Parse .xlif translation file to a .json file.

[](#parse-xlif-translation-file-to-a-json-file)

Only tagged translations will be transfered into the .json. The tag is an attribute in the element. **It's value is used as the source value in the resulting .json**

To have a translation transfered to json the trans-unit element has to look like:

```

	xlif source name
	xlif target name

```

The above example is converted to json like this:

```
{
	"Json source name": "xlif target name"
}

```

**If in xlif the element `` is not available the content of `` is used instead.​**

---

Usage
-----

[](#usage)

- Navigate to the project directory where flow is installed.
- Use the following command with the parameters described below:

```
./flow xliftojson:parseXLF --pathToInputXlf "[/INPUT/PATH/TO].xlf" --pathToOutputJson "[/OUTPUT/PATH/TO].json" --attribute "[ATTRIBUTE-NAME]"

```

- Description of the parameters:

    - This is the call of the command controller: `./flow xliftojson:parseXLF`
    - This parameter is the absolute path to the .xlf (input) file: ` --pathToInputXlf "[/INPUT/PATH/TO].xlf"`
    - This parameter is the absolute path to the .json (output) file: `--pathToOutputJson "[/OUTPUT/PATH/TO].json"`*Easiest way to get the absolute path is to navigate to the file in the bash and type `pwd`.*
    - This is the attribute-name marking the trans-unit to be transfered *(most likely something like 'jsonTranslate'):*`--attribute "[ATTRIBUTE-NAME]"`
- *Alternative: If used without the parameters (just: `./flow xliftojson:parseXLF`) you will be asked for the parameters one after another.*

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13196174?v=4)[Ramón](/maintainers/schloram)[@schloram](https://github.com/schloram)

![](https://www.gravatar.com/avatar/2969ab0a2fbae7ce85cc02be57237e3c99ba41c1e748c23aa710bab18f6a3417?d=identicon)[vjanoch](/maintainers/vjanoch)

---

Top Contributors

[![sdukart](https://avatars.githubusercontent.com/u/6009104?v=4)](https://github.com/sdukart "sdukart (11 commits)")[![vacijj](https://avatars.githubusercontent.com/u/2101914?v=4)](https://github.com/vacijj "vacijj (3 commits)")[![schloram](https://avatars.githubusercontent.com/u/13196174?v=4)](https://github.com/schloram "schloram (1 commits)")

### Embed Badge

![Health badge](/badges/itplusx-xliftojson/health.svg)

```
[![Health](https://phpackages.com/badges/itplusx-xliftojson/health.svg)](https://phpackages.com/packages/itplusx-xliftojson)
```

###  Alternatives

[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

114148.3k](/packages/lillik-magento2-price-decimal)[aligent/async-events

An event-driven flexible async events module that allows you to process any event asynchronously.

2917.3k3](/packages/aligent-async-events)

PHPackages © 2026

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