Added the ability to dynamically translate on the project website.

This commit is contained in:
2024-04-22 23:52:04 +05:00
parent a648ba3db9
commit 491249c8d8
55 changed files with 867 additions and 119 deletions

View File

@@ -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>