Hi,
In the headers of the "localhost" page (index.php), there are no instructions or directives indicating the language used, whether English, French or other in the drop-down menu:
<!DOCTYPE html>
<html>
<head>
<title>Accueil WAMPSERVER</title>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width">
<link id="stylecall" rel="stylesheet" href="wampthemes/classic/style.css" />
<link id="stylecall" rel="stylesheet" href="wampthemes/popupmodal.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/ico" />
</head>
Similarly, in the "headers", there is no information or directive on the language used:
connection: Upgrade, Keep-Alive
content-type: text/html; charset=UTF-8
date: Fri, 27 Oct 2023 07:11:03 GMT
keep-alive: timeout=5, max=100
server: Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.11 mod_fcgid/2.3.10-dev
transfer-encoding: chunked
upgrade: h2,h2c
x-powered-by: PHP/8.2.11
I don't understand what the problem could be!
Adding a <html lang="en"> directive won't magically translate the page content into English.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons