Menu

Commit [r2013]  Maximize  Restore  History

Résumé: Configurer la langue en fonction du header « HTTP Accept Language »

Utilise $_SERVER['HTTP_ACCEPT_LANGUAGE'] pour détecter si
l'utilisateur, selon la configuration de son navigateur, préfère le
français ou l'anglais.

L'anglais est utilisé en dernier recours, si cette propriété ne permet
pas de conclure.

vincentb1 2016-08-12

changed /trunk/website/htdocs/index.php
changed /trunk/website/htdocs/site/inc-php/inc-languages.php
changed /trunk/website/htdocs/site/index.php
changed /trunk/website/htdocs/testing/LireInfo.php
/trunk/website/htdocs/index.php Diff Switch to side-by-side view
Loading...
/trunk/website/htdocs/site/inc-php/inc-languages.php Diff Switch to side-by-side view
Loading...
/trunk/website/htdocs/site/index.php Diff Switch to side-by-side view
Loading...
/trunk/website/htdocs/testing/LireInfo.php Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.