samedi 8 mai 2021

PHP HTML CSS Language Switcher [closed]

The issue: I want to add functionality at my language switcher at the header.html file, but I also want to use that header at all 20 other pages of my project. The website has 2 folders one for english and one for german language. For every english html i have a german html equivalent, but i cant use the equivalent because the switcher doesnt have function. Is there any code or logic to this?

<html lang="en">
    <head>
        <meta charset="UTF-8">
    

        <title></title>
        <link rel="icon" href="logo.ico">
<?php 
include 'header.html';

?>
<body>
    <?php
    include 'code/html/homepage.html';
    ?>
</body>
    <?php
    include 'footer.html';
    ?>
    
</html>```




Aucun commentaire:

Enregistrer un commentaire