Install: html lang + language & timezone provider same as admin

This commit is contained in:
Thomas Ingles 2024-04-30 20:49:27 +02:00 committed by Alex Tselegidis
parent 80ada71558
commit 2e9bcacbfc
2 changed files with 3 additions and 1 deletions

View file

@ -108,6 +108,8 @@ class Installation extends EA_Controller
'email' => 'jane@example.org', 'email' => 'jane@example.org',
'phone_number' => '+1 (000) 000-0000', 'phone_number' => '+1 (000) 000-0000',
'services' => [$service_id], 'services' => [$service_id],
'language' => $admin['language'],
'timezone' => $admin['timezone'],
'settings' => [ 'settings' => [
'username' => 'janedoe', 'username' => 'janedoe',
'password' => random_string(), 'password' => random_string(),

View file

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="<?= config('language_code') ?>">
<head> <head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta http-equiv="content-type" content="text/html; charset=UTF-8">