PHPackages                             aimeos/ai-gettext - 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. aimeos/ai-gettext

ActiveAimeos-extension[Localization &amp; i18n](/categories/localization)

aimeos/ai-gettext
=================

Aimeos Gettext extension

2021.10.3(4y ago)20221.0k↓50%55LGPL-3.0-or-laterPHPPHP ~7.1||~8.0

Since Mar 9Pushed 4y ago2 watchersCompare

[ Source](https://github.com/aimeos/ai-gettext)[ Packagist](https://packagist.org/packages/aimeos/ai-gettext)[ Docs](https://aimeos.org/)[ RSS](/packages/aimeos-ai-gettext/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (66)Used By (5)

[ ![Aimeos logo](https://camo.githubusercontent.com/e55b7a8426f14ba6040d604746b03b7e096af41ede8fead0ea817cbb8d60f998/68747470733a2f2f61696d656f732e6f72672f66696c6561646d696e2f74656d706c6174652f69636f6e732f6c6f676f2e706e67 "Aimeos")](https://aimeos.org/)Aimeos Gettext extension
========================

[](#aimeos-gettext-extension)

[![Build Status](https://camo.githubusercontent.com/a6e4471dc432eaf596f83faeee4e9b55cc07721c40394b5aca6daff19b7c6931/68747470733a2f2f636972636c6563692e636f6d2f67682f61696d656f732f61692d676574746578742e7376673f7374796c653d736869656c64)](https://circleci.com/gh/aimeos/ai-gettext)[![Coverage Status](https://camo.githubusercontent.com/22fc22f192ee1a12b3295d272a1bd6555747c01079b427a1a2004ad09918d50b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f61696d656f732f61692d676574746578742f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/r/aimeos/ai-gettext?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/6cf4c493596de604ba7b8f1890ee168e0f983f55dca8ad2d5f1c83474eac6ca1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f61696d656f732f61692d676574746578742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aimeos/ai-gettext/?branch=master)[![License](https://camo.githubusercontent.com/ce4bea33af4f60699df17ff3c8ad2a55a6c433bf3cf27e7585833ff3b9206fdd/68747470733a2f2f706f7365722e707567782e6f72672f61696d656f732f61692d676574746578742f6c6963656e73652e737667)](https://packagist.org/packages/aimeos/ai-gettext)

The Aimeos Gettext extension contains a low resource implementation for reading Gettext MO files and a translation adapter for Aimeos.

Table of contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
- [Links](#links)

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

[](#installation)

As every Aimeos extension, the easiest way is to install it via [composer](https://getcomposer.org/). If you don't have composer installed yet, you can execute this string on the command line to download it:

```
php -r "readfile('https://getcomposer.org/installer');" | php -- --filename=composer

```

Add the Gettext extension name to the "require" section of your `composer.json` (or your `composer.aimeos.json`, depending on what is available) file:

```
"require": [
    "aimeos/ai-gettext": "dev-master",
    ...
],

```

Afterwards you only need to execute the composer update command on the command line:

```
composer update

```

These commands will install the Aimeos extension into the extension directory and it will be available immediately.

Usage
-----

[](#usage)

The Aimeos Gettext adapter is useful for developers writing integrations for applications or frameworks. It's an alternative for the translation objects stored in the Aimeos context. You can instantiate the translation object via

```
$i18n = new \Aimeos\MW\Translation\Gettext( array(),  );

```

License
-------

[](#license)

The Aimeos gettext extension is licensed under the terms of the LGPLv3 Open Source license and is available for free.

Links
-----

[](#links)

- [Web site](https://aimeos.org/)
- [Documentation](https://aimeos.org/docs)
- [Help](https://aimeos.org/help)
- [Issue tracker](https://github.com/aimeos/ai-gettext/issues)
- [Source code](https://github.com/aimeos/ai-gettext)

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity39

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 98.6% 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 ~33 days

Recently: every ~28 days

Total

65

Last Release

1573d ago

Major Versions

2019.10.1 → 2020.01.12020-01-07

2020.10.1 → 2021.01.x-dev2021-01-05

2020.10.x-dev → 2021.04.x-dev2021-04-06

2019.10.x-dev → 2021.07.12021-07-06

2021.10.2 → 2022.01.x-dev2022-01-06

PHP version history (4 changes)2016.01.1PHP &gt;=5.3.3

2019.01.x-devPHP &gt;=5.5.0

2020.01.1PHP ~7.1

2020.10.2PHP ~7.1||~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccdc84033584516c77fb6aa7f85dc7048f2fbcd08867fc6abf115d094bab5eef?d=identicon)[aimeos](/maintainers/aimeos)

---

Top Contributors

[![aimeos](https://avatars.githubusercontent.com/u/8647429?v=4)](https://github.com/aimeos "aimeos (73 commits)")[![nos3](https://avatars.githubusercontent.com/u/1810046?v=4)](https://github.com/nos3 "nos3 (1 commits)")

---

Tags

performancegettextextensionaimeos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/aimeos-ai-gettext/health.svg)

```
[![Health](https://phpackages.com/badges/aimeos-ai-gettext/health.svg)](https://phpackages.com/packages/aimeos-ai-gettext)
```

###  Alternatives

[aimeos/ai-admin-jqadm

Aimeos VueJS+Bootstrap admin backend

1.0k337.1k12](/packages/aimeos-ai-admin-jqadm)[aimeos/ai-client-html

Aimeos standard HTML frontend

1.0k341.5k11](/packages/aimeos-ai-client-html)[aimeos/ai-controller-frontend

Aimeos business controller logic for frontend

966339.3k12](/packages/aimeos-ai-controller-frontend)[aimeos/ai-client-jsonapi

Aimeos frontend JSON REST API

967322.3k11](/packages/aimeos-ai-client-jsonapi)[aimeos/ai-cms-grapesjs

Aimeos GrapesJS CMS extension

970106.9k1](/packages/aimeos-ai-cms-grapesjs)[aimeos/ai-admin-graphql

Aimeos Admin GraphQL API extension

944100.0k4](/packages/aimeos-ai-admin-graphql)

PHPackages © 2026

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