Closed RomkaLTU closed 3 years ago
When including @translations you must add locale as custom blade directive param.
@translations(app()->getLocale())
This however unnecessary, I think it should be inside the custom blade directive callback function.
The parameter is not mandatory. This is optional when you need to load only translations for a specific locale.
When including @translations you must add locale as custom blade directive param.
This however unnecessary, I think it should be inside the custom blade directive callback function.