/[apache]/trunk/dist/2.2/conf/modules.d/00_languages.conf
Gentoo

Diff of /trunk/dist/2.2/conf/modules.d/00_languages.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.160  
changed lines
  Added in v.161

  ViewVC Help
Powered by ViewVC 1.1.20