pixelfed/resources/views/site/language.blade.php

22 lines
748 B
PHP
Raw Normal View History

2018-06-05 07:49:05 +00:00
@extends('site.partial.template')
@section('section')
<div class="title">
2019-02-28 03:16:09 +00:00
<h3 class="font-weight-bold">{{__('site.language')}}</h3>
2018-06-05 07:49:05 +00:00
</div>
<hr>
2019-02-28 03:16:09 +00:00
<div class="alert alert-info font-weight-bold">{{__('site.l10nWip')}}!</div>
<p class="font-weight-light">{{__('site.currentLocale')}}: <span class="font-weight-bold">{{App::getLocale()}}</span></p>
<p class="font-weight-light">{{__('site.selectLocale')}}:</p>
2018-06-05 07:49:05 +00:00
<ul class="list-group">
2019-02-28 03:16:09 +00:00
@foreach(App\Util\Localization\Localization::languages() as $lang)
<a class="list-group-item font-weight-bold" href="/i/lang/{{$lang}}">{{locale_get_display_language($lang)}}</a>
@endforeach
2018-06-05 07:49:05 +00:00
</ul>
@endsection
@push('meta')
<meta property="og:description" content="Language">
@endpush