Closed andrey-helldar closed 2 years ago
Translation does not work after updating to the latest version and updating transtaions using php artisan lang:update.
php artisan lang:update
Here is a example:
After updating transtations the validation.php file looks like:
validation.php
<?php return [ 'attributes' => [ 'frontend.email' => 'E-mail', 'frontend.password' => 'Password', //... ] ];
Originally posted by @icaliman in https://github.com/Laravel-Lang/publisher/issues/289#issuecomment-1308366995
@icaliman
I'm leaning towards the fact that this is a feature of Laravel itself because the __() function receives a value for dot translation.
__()
In this case, I can recommend not to use nested attributes.
Translation does not work after updating to the latest version and updating transtaions using
php artisan lang:update
.Here is a example:
After updating transtations the
validation.php
file looks like:Originally posted by @icaliman in https://github.com/Laravel-Lang/publisher/issues/289#issuecomment-1308366995