Open igorlopasovsky opened 6 years ago
What's your use case?
At first glance it seems you're doing something wrong :-P
Our use case is quite simple - we have hundreds of strings to translate and exactly as described in Laravel documentation (https://laravel.com/docs/5.7/localization#using-translation-strings-as-keys), it's getting quite confusing using keys. It's much easier to use translation strings as keys. I hope it makes sense :)
Would it be possible to replace parameters in translation strings (https://laravel.com/docs/5.7/localization#replacing-parameters-in-translation-strings) while using translation strings as keys(https://laravel.com/docs/5.7/localization#using-translation-strings-as-keys)?
As far as I figured it out, parameters are not allowed to be used this way.