Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/LeoColomb/pomo
- Owner: LeoColomb
- License: gpl-2.0
- Created: 2014-01-04T17:38:18.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T10:53:50.000Z (almost 2 years ago)
- Last Synced: 2024-10-14T20:38:39.763Z (20 days ago)
- Topics: composer, gettext-library, internationalization, php, pomo, translations
- Language: PHP
- Homepage:
- Size: 370 KB
- Stars: 9
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - LeoColomb/pomo - Gettext library to translate with I18n (PHP)
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