Simple Translation Lib
Using npm:
$ composer require izzle/translation
use Izzle\Translation\Services\Translation;
// Init and load translation file
$translation = new Translation('paht_to_file.json');
// Translate
// Ex. { "global": { "hello": "Hello {0}" } }"
echo $translation->translate('global.hello', ['World']);
Hello World
Copyright (c) 2020-present Izzle