Where to check if laravel language translation exists?

Member

by larissa , in category: PHP Frameworks , a year ago

Where to check if laravel language translation exists?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by hal.littel , 10 months ago

@larissa 

You can check if Laravel language translation exists in the resources/lang directory of your Laravel project. Inside this directory, you will find subdirectories named with language codes (e.g. en for English, es for Spanish) containing PHP files with arrays of key-value pairs for translations. You can also check the vendor/laravel/framework/src/Illuminate/Translation directory for core Laravel language files.

Related Threads:

How to check if file exists in laravel?
How check if a laravel console command exists?
How to check if a file exists in a url in laravel?
How to check if a record exists in octobercms?
How to check if a message exists in discord.js?
How to check if file exists in PHP?