Laravel JetStream translate
MrFallen opened this issue · 6 comments
- Lang Publisher Version: last
- Laravel Version: last
- PHP Version: 7.4
Description:
Hi guys. I was download Russian language for Laravel JetStream. How to accept this language?
Steps To Reproduce:
https://github.com/andrey-helldar/laravel-lang-publisher#laravel-jetstream
Hi!
composer update
php artisan lang:install --json ru
Next calls,
php artisan lang:update --json
It is necessary to update the dependencies because one of the dependencies - Laravel-Lang/lang
(latest version is 7.0.7
) recently included translation for Jetstream.
What versions of the andrey-helldar/laravel-lang-publisher
and laravel-lang/lang
packages are installed?
I'm pretty sure the problem is with old packages.
Are you sure you called the composer update
command?
Are the translation files installed exactly? Check if the resources/lang/ru.json
file exists.
If not, run the php artisan lang:install --json ru
command.
My steps:
- Install a fresh application (
laravel new test --jet
, (see)) - Install a
andrey-helldar/laravel-lang-publisher
package:composer require --dev andrey-helldar/laravel-lang-publisher
- Call the
php artisan lang:install --json ru
command - Change a
locale
option toru
in theconfig/app.php
file. - It's all.