Is there any way that allows inserting translatable value in configuration file in laravel-5.4 application? I have a custom configuration file at config/fox-reports.php and I’m trying to set a translatable configuration value looks like the following: When I run php artisan config:cache the following error is generated: In Container.php line 729: Answer You can’t use the __() helper in config