2.3.24 AddLanguage
AddLanguage specifies the language to be used in documents.
Description
AddLanguage specifies the language to be used in documents. The language code is to be set to the Content-Language response header. When this directive is specified, if the priority of the language code (the Accept-Language header) is set to requests according to the language settings of the web browser, content negotiation can be performed to select the content to be sent from the web server. The language code depends on the header information to be sent from the web browser. Basically, the language code is specified in accordance with the language codes defined in ISO639. To enable content negotiation, you must set the MultiViews option in the Options directive. If you specify this directive more than once, you cannot specify different language codes to the same extension.
Syntax
AddLanguage language_code extension
Locations where it can be written
httpsd.conf, <VirtualHost>, <Directory>, and .htaccess
Overwrite permission
FileInfo level
Example
AddLanguage ja .ja Japanese AddLanguage en .en English AddLanguage fr .fr French AddLanguage de .de German AddLanguage da .da Danish AddLanguage el .el Greek AddLanguage it .it Italian