Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/LeoColomb/pomo

Gettext library to translate with I18n
https://github.com/LeoColomb/pomo

composer gettext-library internationalization php pomo translations

Last synced: 9 days ago
JSON representation

Gettext library to translate with I18n

Awesome Lists containing this project

README

        

# POMO

> Gettext library to translate with i18n

[![Latest Release](https://img.shields.io/packagist/v/pomo/pomo.svg)](https://packagist.org/packages/pomo/pomo)

## About

[Why use it](https://codex.wordpress.org/I18n_for_WordPress_Developers).

## Usage

```php
import_from_file($the_mo_filepath);

// Translate
$translations->translate($text);
```

## Installation

The easiest way to install POMO is via [composer](http://getcomposer.org/).

```console
composer require pomo/pomo
```

```php