<commit_before>@extends('localizer::template')
@section('title', 'Localizer')
@section('content')
<center>
<br><br>
<div class="container">
	<div class="row">
		<div class="col-lg-6 offset-lg-3">
			<h1>Localizer</h1>
			<br>
			<h2>Select your language</h2>
		</div>
		<br><br>
		<div class="hidden-md-down">
			<br><br>
			<br><br>
			<br><br>
		</div>

		<div class="container">

			<div class="row">
			@foreach(Laralang::allLanguages() as $key => $value)
				@php
					$flag = $value;
					$array = ['en' => 'gb','zh' => 'cn', 'ja' => 'jp', 'ca' => 'img'];
					if (array_key_exists($value, $array)) {
						$flag = $array[$value];
					}
				 @endphp
				 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2 col-xl" style="padding-bottom:70px">
					 <a href="{{ route('localizer::setLocale',['locale' => $value ]) }}" class="but">
						 @if($flag == 'img')
						 <img src="{{asset('vendor/aitor24/Localizer/Flags/'.$value.'.jpg')}}" style="height:15px;"><commit_msg>Edited view for no require aliases<commit_after>@extends('localizer::template')
@section('title', 'Localizer')
@section('content')
<center>
<br><br>
<div class="container">
	<div class="row">
		<div class="col-lg-6 offset-lg-3">
			<h1>Localizer</h1>
			<br>
			<h2>Select your language</h2>
		</div>
		<br><br>
		<div class="hidden-md-down">
			<br><br>
			<br><br>
			<br><br>
		</div>

		<div class="container">

			<div class="row">
			@foreach(Aitor24\Laralang\Facades\Laralang::allLanguages() as $key => $value)
				@php
					$flag = $value;
					$array = ['en' => 'gb','zh' => 'cn', 'ja' => 'jp', 'ca' => 'img'];
					if (array_key_exists($value, $array)) {
						$flag = $array[$value];
					}
				 @endphp
				 <div class="col-xs-12 col-sm-6 col-md-3 col-lg-2 col-xl" style="padding-bottom:70px">
					 <a href="{{ route('localizer::setLocale',['locale' => $value ]) }}" class="but">
						 @if($flag == 'img')
						 <img src="{{asset('vendor/aitor24/Localizer/Flags/'.$value.'.jpg')}}" style="height:15px;">
{'fraction_non_alphanumeric': 0.24773869346733668, 'fraction_numerical': 0.018090452261306532, 'mean_word_length': 3.706855791962175, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4528029', 'n_tokens_mistral': 928, 'n_tokens_neox': 769, 'n_words': 140}