Bow Framework's translation system is a very simple translation API. Also supports pluralization.
This is the sample configuration
// frontend/lang/en/messages.php
return [
'welcome' => 'Welcome to our application'
];Let's show a little example:
use Bow\Translate\Translator;
echo Translator::translate('messages.welcome');
// Or
echo app_trans('messages.welcome');