Spanish language added
This commit is contained in:
parent
16560c8ea4
commit
ac219bf80d
|
|
@ -118,7 +118,7 @@ class Install extends Command
|
|||
$input_admin_url = $this->ask('Please Enter the Admin URL : ');
|
||||
$this->envUpdate('APP_ADMIN_URL=', $input_admin_url ?: $default_admin_url);
|
||||
|
||||
$locale = $this->choice('Please select the default locale or press enter to continue', ['ar', 'en', 'fa', 'nl', 'pt_BR'], 1);
|
||||
$locale = $this->choice('Please select the default locale or press enter to continue', ['ar', 'en', 'es', 'fa', 'nl', 'pt_BR'], 1);
|
||||
$this->envUpdate('APP_LOCALE=', $locale);
|
||||
|
||||
$TimeZones = timezone_identifiers_list();
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ class CountryStateTranslationSeeder extends Seeder
|
|||
public function run()
|
||||
{
|
||||
|
||||
foreach (['ar', 'fa', 'pt_BR'] as $code) {
|
||||
foreach (['ar', 'es', 'fa', 'pt_BR'] as $code) {
|
||||
DB::table('country_translations')->where('locale', $code)->delete();
|
||||
|
||||
DB::table('country_state_translations')->where('locale', $code)->delete();
|
||||
|
|
|
|||
|
|
@ -30,6 +30,10 @@ class LocalesTableSeeder extends Seeder
|
|||
'id' => 4,
|
||||
'code' => 'tr',
|
||||
'name' => 'Türkçe',
|
||||
], [
|
||||
'id' => 5,
|
||||
'code' => 'es',
|
||||
'name' => 'Español',
|
||||
]]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@
|
|||
<option value="nl">Dutch</option>
|
||||
<option value="en" selected>English</option>
|
||||
<option value="fr">French</option>
|
||||
<option value="es">Español</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue