J'espère être sur le bon forum.
J'ai un fichier "racine\lang\fr_dataTables.json". Les modifications de ce fichier ne sont pas prises en compte.
Pourtant dans la console, rubrique réseau, le fichier ci-dessus apparaît avec le statut 200 OK.
J'utilise DataTables avec le fichier source suivant:
Code HTML : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="fr">
	<head>
		<meta charset="utf-8">
		<title>Sirep - Votre prospection commerciale</title>
		<meta name="description" content="Votre prospection commerciale en ligne. Vous entrez les informations de vos clients ou prospects. Toutes les personnes autorisées de l'entreprise y accèdent en ligne.">
		<meta name="author" content="Marc Paris">
		<meta name="copyright" content="Marc Paris, 2016 et +">
 
		<meta http-equiv="Expires" content="-1" >
		<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">
 
		<script type="text/javascript" src="http://me.kis.v2.scr.kaspersky-labs.com/FD126C42-EBFA-4E12-B309-BB3FDD723AC1/main.js?attr=4swqadn2d0VCYYqmgcyH3jG7-5UxloP6Y2tstFSPBTuwSydpeptA8Qgtj5ty2zRoffKWuyq1BiarwbNpMD6vnIH84tP-nw2TDoOLECnshJM" charset="UTF-8"></script><base href="http://sirep.proginet.local" />
 
		<link rel="stylesheet" media="all" type="text/css" href="../css/structure.css">
		<link rel="stylesheet" media="all" type="text/css" href="../css/screen.css">
		<link rel="stylesheet" media="print" type="text/css" href="../css/print.css">
		<link rel='stylesheet' media='screen' type='text/css' href='../DataTables/datatables.css' />	</head>
 
	<body>
		<section>
 
<form method="post" action="http://sirep.proginet.local/frontend/footFormHandler.php" class="center">
	<input type='submit' name='new' value='Nouveau client' disabled>
</form>
 
<table id="table" class="nowrap smallFont08" data-page-length="25"> <!-- data-page-length ne fonctionne que pour les valeurs de la liste de choix -->
	<thead><tr><th>Nom</th><th>Pays</th><th>Localité</th><th>Téléphone</th><th>Télécopie</th><th>Courriel</th></tr></thead><tbody><tr><td><a href='frontend/main.php?page=1&customerId=3011'>Millipore</a></td><td>France</td><td>Molsheim</td><td></td><td></td><td><a href='mailto:'></a></td></tr><tr><td><a href='frontend/main.php?page=1&customerId=2950'>Société Française de Construction</a></td><td>France</td><td>Bourg en Bresse</td><td>04 74 12 34 56</td><td>04 74 12 34 57</td><td><a href='mailto:sfc@essai.fr'>sfc@essai.fr</a></td></tr><tr><td><a href='frontend/main.php?page=1&customerId=2953'>SOMAB</a></td><td>Suisse</td><td>Nyon</td><td></td><td></td><td><a href='mailto:'></a></td></tr><tr><td><a href='frontend/main.php?page=1&customerId=3010'>VHM</a></td><td>France</td><td>Molsheim</td><td>+33388494720</td><td></td><td><a href='mailto:vhmgroupe@vhm.fr'>vhmgroupe@vhm.fr</a></td></tr><tr><td><a href='frontend/main.php?page=1&customerId=2951'>Weber GmbH</a></td><td>Allemagne</td><td>Freiburg / Breisgau</td><td>011/123456-0</td><td></td><td><a href='mailto:weber.freiburgb@weber.de'>weber.freiburgb@weber.de</a></td></tr></tbody></table>
 
<form method="post" action="http://sirep.proginet.local/frontend/footFormHandler.php" class="center">
	<input type='submit' name='new' value='Nouveau client' disabled>
</form>
 
<!-- Load JQuery used by datatables -->
<script	src="https://code.jquery.com/jquery-3.3.1.js"
	integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
	crossorigin="anonymous"
>
</script>
<!-- Script datatables -->
<script src="https://cdn.datatables.net/1.10.19/js/jquery.dataTables.js"></script>
<!-- Set focus on search field after document loaded -->
<script type="module" src="../js/customerList.js"></script>
<script>
        $(document).ready(function() {
                $('#table').dataTable( { language: { url: "lang/fr_dataTables.json" } } );
        } );
</script>			</article>
 
		</section>
 
</html>