Dynamic Translations
Handle Translations with ease without touching the source code
Goal
Manage Translations
Configuration
Key
Value
Description
Usage
Facade Style
use SaasReady\Facade\SaasTranslator;
// welcome-text = "Hello :user"
// this will give you: Hello Seth Phat
$welcomeText = SaasTranslator::translate('welcome-text', [
'user' => 'Seth Phat',
]);DI style
Functional style
Render Translations
Last updated