<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class LanguageSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $languages = [
            ['language' => 'English', 'code' => 'en'],
            ['language' => 'French', 'code' => 'fr'],
            ['language' => 'Assamese', 'code' => 'as'],
            ['language' => 'Bengali (Bangla)', 'code' => 'bn'],
            ['language' => 'Bodo', 'code' => 'brx'],
            ['language' => 'Dogri', 'code' => 'doi'],
            ['language' => 'Gujarati', 'code' => 'gu'],
            ['language' => 'Hindi', 'code' => 'hi'],
            ['language' => 'Kannada', 'code' => 'kn'],
            ['language' => 'Kashmiri', 'code' => 'ks'],
            ['language' => 'Konkani', 'code' => 'gom'],
            ['language' => 'Maithili', 'code' => 'mai'],
            ['language' => 'Malayalam', 'code' => 'ml'],
            ['language' => 'Meitei (Manipuri)', 'code' => 'mni'],
            ['language' => 'Marathi', 'code' => 'mr'],
            ['language' => 'Nepali', 'code' => 'ne'],
            ['language' => 'Odia', 'code' => 'or'],
            ['language' => 'Punjabi', 'code' => 'pa'],
            ['language' => 'Sanskrit', 'code' => 'sa'],
            ['language' => 'Santali', 'code' => 'sat'],
            ['language' => 'Sindhi', 'code' => 'sd'],
            ['language' => 'Tamil', 'code' => 'ta'],
            ['language' => 'Telugu', 'code' => 'te'],
            ['language' => 'Urdu', 'code' => 'ur'],
        ];

        DB::table('languages')->insert($languages);
    }
}
