f00b4r/php-gettext

Fixed php-gettext for PHP 5.6 - 8.0

Fund package maintenance!
f3l1x

dev-master / 1.1.x-dev 2024-11-05 11:17 UTC

This package is auto-updated.

Last update: 2024-11-05 11:22:49 UTC


README

This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x

All credits belongs to official authors, take a look at launchpad.net/php-gettext

Info

Installation

To install this library use Composer.

composer require f00b4r/php-gettext

Usage

$streamer = new CachedFileReader(__DIR__ . '/messages.mo');
$gettext = new gettext_reader($streamer);

Development

See how to contribute to this package.

This package is currently maintaining by these authors.

Consider to support f3l1x. Also thank you for using this package.