1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-02-25 07:47:55 +01:00
openstamanager/resources/views/layouts/translations.blade.php

8 lines
194 B
PHP
Raw Normal View History

@php
/** @var string $translations */
$translations = cache('translations_' . app()->getLocale());
@endphp
<script>
window.translations = JSON.parse('{!! $translations !!}')
</script>