Interface for translator and translatable messages
📄 Check out our documentation.
💸 If you like Orisai, please make a donation. Thank you!
## ```php use Orisai\TranslationContracts\Translator; assert($translator instanceof Translator); $translator->translate('message.id', ['parameter' => 'value']); // string (translated message) // Or use function Orisai\TranslationContracts\t; t('message.id', ['parameter' => 'value']); // string (translated message) ```