1. Go to this page and download the library: Download iwan07/lang library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
iwan07 / lang example snippets
use Iwan07\Lang\Lang;
Lang::setLanguage('ru');
use Iwan07\Lang\Lang;
$lang = new Lang;
echo $lang->main_page; // Вариант 1
echo $lang->msg('main_page'); // Вариант 2