Skip to content
Snippets Groups Projects
Commit 0ac6b04a authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

setting lang attribute based on current locale

parent a7e007e4
No related branches found
No related tags found
2 merge requests!2010Development,!2001Resolve "Improve Localization"
@if(!\app()->make(\App\SearchSettings::class)->header_printed) @if(!\app()->make(\App\SearchSettings::class)->header_printed)
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{!! trans('staticPages.meta.language') !!}"> <html lang="{{ App\Localization::getLanguage() }}">
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{!! trans('staticPages.meta.language') !!}"> <html lang="{{ App\Localization::getLanguage() }}">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="stylesheet" href="/index.css?id={{ $key }}"> <link rel="stylesheet" href="/index.css?id={{ $key }}">
......
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{!! trans('staticPages.meta.language') !!}"> <html lang="{{ App\Localization::getLanguage() }}">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment