PHPackages                             nimah79/f3-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. nimah79/f3-gettext

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

nimah79/f3-gettext
==================

Gettext Plugin for PHP Fat-Free Framework

v1.0(6y ago)025GPL-3.0PHPPHP &gt;=5.4.0

Since Jul 20Pushed 6y agoCompare

[ Source](https://github.com/nimah79/f3-gettext)[ Packagist](https://packagist.org/packages/nimah79/f3-gettext)[ Docs](https://github.com/nimah79/f3-gettext)[ RSS](/packages/nimah79-f3-gettext/feed)WikiDiscussions master Synced today

READMEChangelog (1)DependenciesVersions (2)Used By (0)

F3 Gettext
==========

[](#f3-gettext)

This is a Gettext plugin for the [PHP Fat-Free Framework](https://github.com/bcosca/fatfree).

It doesn't need PHP gettext extension!

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

[](#installation)

**1.** Just [download](https://github.com/nimah79/f3-gettext/archive/master.zip) the package and register it to `AUTOLOAD`, or require it with composer: `composer require nimah79/f3-gettext`

**2.** Add this sample configuration, or load the [sample ini file](https://github.com/nimah79/f3-gettext/blob/master/gettext_config.ini) (make necessary changes):

```
[GETTEXT]
language=fa
path=locales/

```

**3.** Put your .po files in the path you defined.

Usage
-----

[](#usage)

Use `__()` instead of `_()` or `gettext()`:

```
echo __('Hello!'); // "سلام!"

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity53

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

2488d ago

### Community

Maintainers

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

---

Top Contributors

[![nimah79](https://avatars.githubusercontent.com/u/20343056?v=4)](https://github.com/nimah79 "nimah79 (12 commits)")

---

Tags

localizationlanguagegettextF3fatfreemultilanauge

### Embed Badge

![Health badge](/badges/nimah79-f3-gettext/health.svg)

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

###  Alternatives

[codezero/laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

543638.1k4](/packages/codezero-laravel-localized-routes)[gettext/languages

gettext languages with plural rules

7530.3M11](/packages/gettext-languages)[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[tio/laravel

Add this package to localize your Laravel application (PHP, JSON or GetText).

170318.5k](/packages/tio-laravel)[xfra35/f3-multilang

Route localization plugin for the PHP Fat-Free Framework

4862.7k1](/packages/xfra35-f3-multilang)[fisharebest/localization

A lightweight localization database and translation tools, with data from the CLDR, IANA, ISO, etc.

3191.1k2](/packages/fisharebest-localization)

PHPackages © 2026

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