Skip to content

Latest commit

 

History

History
62 lines (44 loc) · 2.43 KB

README.md

File metadata and controls

62 lines (44 loc) · 2.43 KB

Gettext emulation in PHP

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.