Added the ability to dynamically translate on the project website.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
@section('h1', __('site.Page without translation'))
|
||||
@section('h1', $websiteTranslations->translate('site.Page without translation'))
|
||||
|
||||
<x-site.layout :project="$project" :language="$language">
|
||||
<x-site.layout :project="$project" :websiteTranslations="$websiteTranslations">
|
||||
|
||||
</x-site.layout>
|
||||
|
Reference in New Issue
Block a user