Proper use of PHP: header('Content-language: …');
问题 aside the obvious fashion of setting the language of a page: <meta name="language" content="de"><html lang="de"> I recently found an amazing aspect typical to only the programming language of PHP that could enables developers to set the language at the very top of PHP files: <?php /* Set and pre-define the language in the header; * Eliminating guesswork for the Header language. */ header('Content-language: de'); ?> Two questions arise eveidentaly to the PHP programmer: Main Question: When