Where to check if laravel language translation exists?

Member

by larissa , in category: PHP Frameworks , 6 months ago

Where to check if laravel language translation exists?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by hal.littel , 6 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.