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

https://github.com/horttcore/translatorservice


https://github.com/horttcore/translatorservice

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Translator Service

## Installation

`composer require ralfhortt/translator-service`

## Usage

### Service loader

```php
addService(Translator::class, 'my-textdomain', dirname(plugin_basename(__FILE__)).'/languages/')
->boot();
```

### Standalone

```php
register();
```

## Changelog

### v1.0.2 - 2020-01-13

- Bugfix: Wrong variable name

### v1.0.1 - 2019-12-3

- Cleanup

### v1.0.0 - 2019-12-3

- Initial release