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,6 +1,6 @@
@section('meta_title', __('site.Project') . ': ' . $content->title)
@section('meta_title', $websiteTranslations->translate('site.Project') . ': ' . $content->title)
@section('h1', $content->title)
<x-site.layout :project="$project" :language="$language">
<x-site.layout :project="$project" :websiteTranslations="$websiteTranslations">
{!! $content->description !!}
</x-site.layout>