From f1a330f7d07eaf83494a2eefe7feaa08a5db90e2 Mon Sep 17 00:00:00 2001 From: Simon Karlen Date: Thu, 6 Jan 2022 07:48:50 +0100 Subject: [PATCH] updated README.md --- README.md | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/README.md b/README.md index ab1a67a..6ab021b 100644 --- a/README.md +++ b/README.md @@ -41,21 +41,7 @@ to the require section of your `composer.json` file. Translations ---- -To use translations, configure your app like following -```php -'components' => [ - // ... - 'i18n' => [ - 'translations' => [ - 'yii/bootstrap5*' => [ - 'class' => 'yii\i18n\GettextMessageSource', - 'sourceLanguage' => 'en-US', - 'basePath' => '@yii/bootstrap5/messages', - ], - ], - ], -], -``` +The i18n configuration will be automatically added to your application configuration via bootstrapping process. Usage ----