| 1 |
# Settings for hosting different languages.
|
| 2 |
<IfDefine LANGUAGE>
|
| 3 |
<IfModule mime_module>
|
| 4 |
<IfModule negotiation_module>
|
| 5 |
# DefaultLanguage and AddLanguage allows you to specify the language of
|
| 6 |
# a document. You can then use content negotiation to give a browser a
|
| 7 |
# file in a language the user can understand.
|
| 8 |
#
|
| 9 |
# Specify a default language. This means that all data
|
| 10 |
# going out without a specific language tag (see below) will
|
| 11 |
# be marked with this one. You probably do NOT want to set
|
| 12 |
# this unless you are sure it is correct for all cases.
|
| 13 |
#
|
| 14 |
# It is generally better to not mark a page as
|
| 15 |
# being a certain language than marking it with the wrong
|
| 16 |
# language!
|
| 17 |
#
|
| 18 |
# DefaultLanguage nl
|
| 19 |
#
|
| 20 |
# Note 1: The suffix does not have to be the same as the language
|
| 21 |
# keyword --- those with documents in Polish (whose net-standard
|
| 22 |
# language code is pl) may wish to use "AddLanguage pl .po" to
|
| 23 |
# avoid the ambiguity with the common suffix for perl scripts.
|
| 24 |
#
|
| 25 |
# Note 2: The example entries below illustrate that in some cases
|
| 26 |
# the two character 'Language' abbreviation is not identical to
|
| 27 |
# the two character 'Country' code for its country,
|
| 28 |
# E.g. 'Danmark/dk' versus 'Danish/da'.
|
| 29 |
#
|
| 30 |
# Note 3: In the case of 'ltz' we violate the RFC by using a three char
|
| 31 |
# specifier. There is 'work in progress' to fix this and get
|
| 32 |
# the reference data for rfc1766 cleaned up.
|
| 33 |
#
|
| 34 |
# Catalan (ca) - Croatian (hr) - Czech (cs) - Danish (da) - Dutch (nl)
|
| 35 |
# English (en) - Esperanto (eo) - Estonian (et) - French (fr) - German (de)
|
| 36 |
# Greek-Modern (el) - Hebrew (he) - Italian (it) - Japanese (ja)
|
| 37 |
# Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
|
| 38 |
# Norwegian (no) - Polish (pl) - Portugese (pt)
|
| 39 |
# Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
|
| 40 |
# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
|
| 41 |
AddLanguage ca .ca
|
| 42 |
AddLanguage cs .cz .cs
|
| 43 |
AddLanguage da .dk
|
| 44 |
AddLanguage de .de
|
| 45 |
AddLanguage el .el
|
| 46 |
AddLanguage en .en
|
| 47 |
AddLanguage eo .eo
|
| 48 |
AddLanguage es .es
|
| 49 |
AddLanguage et .et
|
| 50 |
AddLanguage fr .fr
|
| 51 |
AddLanguage he .he
|
| 52 |
AddLanguage hr .hr
|
| 53 |
AddLanguage it .it
|
| 54 |
AddLanguage ja .ja
|
| 55 |
AddLanguage ko .ko
|
| 56 |
AddLanguage ltz .ltz
|
| 57 |
AddLanguage nl .nl
|
| 58 |
AddLanguage nn .nn
|
| 59 |
AddLanguage no .no
|
| 60 |
AddLanguage pl .po
|
| 61 |
AddLanguage pt .pt
|
| 62 |
AddLanguage pt-BR .pt-br
|
| 63 |
AddLanguage ru .ru
|
| 64 |
AddLanguage sv .sv
|
| 65 |
AddLanguage zh-CN .zh-cn
|
| 66 |
AddLanguage zh-TW .zh-tw
|
| 67 |
|
| 68 |
# LanguagePriority allows you to give precedence to some languages
|
| 69 |
# in case of a tie during content negotiation.
|
| 70 |
#
|
| 71 |
# Just list the languages in decreasing order of preference. We have
|
| 72 |
# more or less alphabetized them here. You probably want to change this.
|
| 73 |
LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv zh-CN zh-TW
|
| 74 |
|
| 75 |
# ForceLanguagePriority allows you to serve a result page rather than
|
| 76 |
# MULTIPLE CHOICES (Prefer) [in case of a tie] or NOT ACCEPTABLE (Fallback)
|
| 77 |
# [in case no accepted languages matched the available variants]
|
| 78 |
ForceLanguagePriority Prefer Fallback
|
| 79 |
|
| 80 |
# Commonly used filename extensions to character sets. You probably
|
| 81 |
# want to avoid clashes with the language extensions, unless you
|
| 82 |
# are good at carefully testing your setup after each change.
|
| 83 |
# See http://www.iana.org/assignments/character-sets for the
|
| 84 |
# official list of charset names and their respective RFCs.
|
| 85 |
AddCharset us-ascii.ascii .us-ascii
|
| 86 |
AddCharset ISO-8859-1 .iso8859-1 .latin1
|
| 87 |
AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
|
| 88 |
AddCharset ISO-8859-3 .iso8859-3 .latin3
|
| 89 |
AddCharset ISO-8859-4 .iso8859-4 .latin4
|
| 90 |
AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
|
| 91 |
AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
|
| 92 |
AddCharset ISO-8859-7 .iso8859-7 .grk .greek
|
| 93 |
AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
|
| 94 |
AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
|
| 95 |
AddCharset ISO-8859-10 .iso8859-10 .latin6
|
| 96 |
AddCharset ISO-8859-13 .iso8859-13
|
| 97 |
AddCharset ISO-8859-14 .iso8859-14 .latin8
|
| 98 |
AddCharset ISO-8859-15 .iso8859-15 .latin9
|
| 99 |
AddCharset ISO-8859-16 .iso8859-16 .latin10
|
| 100 |
AddCharset ISO-2022-JP .iso2022-jp .jis
|
| 101 |
AddCharset ISO-2022-KR .iso2022-kr .kis
|
| 102 |
AddCharset ISO-2022-CN .iso2022-cn .cis
|
| 103 |
AddCharset Big5.Big5 .big5 .b5
|
| 104 |
AddCharset cn-Big5 .cn-big5
|
| 105 |
# For russian, more than one charset is used (depends on client, mostly):
|
| 106 |
AddCharset WINDOWS-1251 .cp-1251 .win-1251
|
| 107 |
AddCharset CP866 .cp866
|
| 108 |
AddCharset KOI8 .koi8
|
| 109 |
AddCharset KOI8-E .koi8-e
|
| 110 |
AddCharset KOI8-r .koi8-r .koi8-ru
|
| 111 |
AddCharset KOI8-U .koi8-u
|
| 112 |
AddCharset KOI8-ru .koi8-uk .ua
|
| 113 |
AddCharset ISO-10646-UCS-2 .ucs2
|
| 114 |
AddCharset ISO-10646-UCS-4 .ucs4
|
| 115 |
AddCharset UTF-7 .utf7
|
| 116 |
AddCharset UTF-8 .utf8
|
| 117 |
AddCharset UTF-16 .utf16
|
| 118 |
AddCharset UTF-16BE .utf16be
|
| 119 |
AddCharset UTF-16LE .utf16le
|
| 120 |
AddCharset UTF-32 .utf32
|
| 121 |
AddCharset UTF-32BE .utf32be
|
| 122 |
AddCharset UTF-32LE .utf32le
|
| 123 |
AddCharset euc-cn .euc-cn
|
| 124 |
AddCharset euc-gb .euc-gb
|
| 125 |
AddCharset euc-jp .euc-jp
|
| 126 |
AddCharset euc-kr .euc-kr
|
| 127 |
# Not sure how euc-tw got in - IANA doesn't list it???
|
| 128 |
AddCharset EUC-TW .euc-tw
|
| 129 |
AddCharset gb2312 .gb2312 .gb
|
| 130 |
AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
|
| 131 |
AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
|
| 132 |
AddCharset shift_jis .shift_jis .sjis
|
| 133 |
</IfModule>
|
| 134 |
</IfModule>
|
| 135 |
</IfDefine>
|
| 136 |
|
| 137 |
# vim: ts=4 filetype=apache
|