❓ Support
TOWUK TOWUK towuk.ru Nov 3, 2024

Dublicate config remove

I found duplicates of the same config in the .env and /config/app.php

'debug' => (bool) env('APP_DEBUG', false),
'url' => env('APP_URL', 'http://localhost'),

and more
изображение.png

⁨3⁩ ⁨Comments⁩

I also noticed an error in the translation of the localization of 'ru', the admin panel gives an error, how do I fill in the localization with the missing lines of translation?

Toby Toby Waterhole Founder Nov 7, 2024

Hi @TOWUK,

These configuration duplicates are intentional, allowing configuration settings to be overridden at the environment level. Please see the Waterhole docs and the Laravel docs on configuration and environment variables.

Regarding the missing ru translations, please refer to the Localization docs - you could try a local override to fill in the missing translations, and then follow the steps to contribute back to the Waterhole repository (the ru translation is found here).

In reply to Toby Toby

thanks to @Toby , yes, I started learning Laravel, now I understand :)