PHPackages                             voda/php-translator - 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. voda/php-translator

ActiveLibrary[Localization &amp; i18n](/categories/localization)

voda/php-translator
===================

Gettext based translator for php with macros for Nette Latte templates.

0.1.0(13y ago)24713BSD-3-ClausePHPPHP &gt;=5.3.0

Since Sep 10Pushed 13y ago1 watchersCompare

[ Source](https://github.com/voda/php-translator)[ Packagist](https://packagist.org/packages/voda/php-translator)[ RSS](/packages/voda-php-translator/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

php-translator
==============

[](#php-translator)

Gettext based translator for php with macros for [Nette Latte](http://nette.org/) templates.

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

[](#installation)

php-translator can be installed with composer. Just add `"voda/php-translator": "*"` to your require section of composer.json. This library depends on [php-gettext](https://launchpad.net/php-gettext), which unfortunately isn't a composer package. However you can add the following code to your composer.json file and the composer will install it for you.

```
{
	"repositories": [
		{
			"type": "package",
			"package": {
				"name": "php-gettext/php-gettext",
				"version": "1.0.11",
				"dist": {
					"type": "tar",
					"url": "https://launchpad.net/php-gettext/trunk/1.0.11/+download/php-gettext-1.0.11.tar.gz"
				},
				"autoload": {
					"classmap": [
						"gettext.php",
						"streams.php"
					]
				}
			}
		}
	],
	"require": {
		"php-gettext/php-gettext" : "1.0.*"
	}
}
```

License
-------

[](#license)

php-translator is licensed under the New BSD License.

Copyright
---------

[](#copyright)

- 2011 Antee, s.r.o.
- 2011 Ondřej Vodáček

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

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

4994d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89d839ca1355079e36b5471770ef67b3cf407f46c1bad7d8531fa22451af0fd1?d=identicon)[voda](/maintainers/voda)

---

Top Contributors

[![voda](https://avatars.githubusercontent.com/u/290157?v=4)](https://github.com/voda "voda (15 commits)")

---

Tags

i18nnettegettext

### Embed Badge

![Health badge](/badges/voda-php-translator/health.svg)

```
[![Health](https://phpackages.com/badges/voda-php-translator/health.svg)](https://phpackages.com/packages/voda-php-translator)
```

###  Alternatives

[gettext/gettext

PHP gettext manager

70530.2M102](/packages/gettext-gettext)[sepia/po-parser

Gettext \*.PO file parser for PHP.

1271.5M19](/packages/sepia-po-parser)[phpmyadmin/motranslator

Translation API for PHP using Gettext MO files

591.8M8](/packages/phpmyadmin-motranslator)[gettext/translator

Gettext translator functions

114.6M10](/packages/gettext-translator)[phpmyadmin/twig-i18n-extension

Internationalization support for Twig via the gettext library

20949.1k3](/packages/phpmyadmin-twig-i18n-extension)[om/potrans

Command line tool for translate Gettext with Google Translator API or DeepL API

10515.0k4](/packages/om-potrans)

PHPackages © 2026

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