Skip to content

How to automatically translate? #162

Answered by andrey-helldar
aoeng asked this question in Q&A
Discussion options

You must be logged in to vote

Laravel Lang projects do not have this, but you can use another package from a third-party developer: tanmuhittin/laravel-google-translate

composer require tanmuhittin/laravel-google-translate

php artisan vendor:publish --provider="Tanmuhittin\LaravelGoogleTranslate\LaravelGoogleTranslateServiceProvider"

Next, configure it, after which you can translate files:

php artisan translate:files

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@aoeng
Comment options

@andrey-helldar
Comment options

Answer selected by andrey-helldar
@vcardillo
Comment options

@andrey-helldar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants