httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert La Ferla <robertlafe...@attbi.com>
Subject [PATCH] httpd-std.conf changes to organize and support different languages
Date Tue, 06 Aug 2002 17:22:59 GMT
I was reviewing the language support in the default configuration files 
and saw that a good number of major world languages were missing.  I 
added the languages and restructured things so that it's a bit easier to 
manage. Also, perhaps all language related configuration should go into 
a separate .conf file??

Robert

Here is the diff to docs/conf/httpd-std.conf (from the 2.0.39 release)

671,672c671,673
< # DefaultLanguage and AddLanguage allows you to specify the language of
< # a document. You can then use content negotiation to give a browser a
---
 > #
 > # DefaultLanguage and AddLanguage allows you to specify the language of
 > # a document. You can then use content negotiation to give a browser a
676c677
< # going out without a specific language tag (see below) will
---
 > # going out without a specific language tag (see below) will
680c681
< # * It is generally better to not mark a page as
---
 > # * It is generally better to not mark a page as
684c685
< # DefaultLanguage nl
---
 > # DefaultLanguage en
691,692c692,693
< # Note 2: The example entries below illustrate that in some cases
< # the two character 'Language' abbreviation is not identical to
---
 > # Note 2: The example entries below illustrate that in some cases
 > # the two character 'Language' abbreviation is not identical to
700,706c701,723
< # Danish (da) - Dutch (nl) - English (en) - Estonian (et)
< # French (fr) - German (de) - Greek-Modern (el)
< # Italian (it) - Norwegian (no) - Norwegian Nynorsk (nn) - Korean (ko)
< # Portugese (pt) - Luxembourgeois* (ltz)
< # Spanish (es) - Swedish (sv) - Catalan (ca) - Czech(cz)
< # Polish (pl) - Brazilian Portuguese (pt-br) - Japanese (ja)
< # Russian (ru) - Croatian (hr)
---
 > # Afrikaans
 > AddLanguage af .af
 > #
 > # Arabic
 > AddLanguage ar .ar
 > #
 > # Armenian
 > AddLanguage hy .hy
 > #
 > # Bulgarian
 > AddLanguage bg .bg
 > #
 > # Catalan
 > AddLanguage ca .ca
 > #
 > # Chinese
 > AddLanguage zh-cn .zh-cn
 > #
 > # Croatian
 > AddLanguage hr .hr
 > #
 > # Czech
 > AddLanguage cz .cz
707a725
 > # Danish
709c727,728
< AddLanguage nl .nl
---
 > #
 > # English
710a730,731
 > #
 > # Estonian
711a733,740
 > #
 > # Farsi
 > AddLanguage fa .fa
 > #
 > # Finnish
 > AddLanguage fi .fi
 > #
 > # French
712a742,746
 > #
 > # Gaelic
 > AddLanguage gd .gd
 > #
 > # German (Deutsch)
714c748,749
< AddLanguage he .he
---
 > #
 > # Greek (Hellenic)
715a751,764
 > #
 > # Hebrew
 > AddLanguage he .he
 > #
 > # Hungarian
 > AddLanguage hu .hu
 > #
 > # Icelandic
 > AddLanguage is .is
 > #
 > # Indonesian
 > AddLanguage id .id
 > #
 > # Italian
716a766,767
 > #
 > # Japanese
718c769,770
< AddLanguage pl .po
---
 > #
 > # Korean
720,721c772,788
< AddLanguage pt .pt
< AddLanguage nn .nn
---
 > #
 > # Latvian
 > AddLanguage lv .lv
 > #
 > # Lithuanian
 > AddLanguage lt .lt
 > #
 > # Luxembourgeois
 > AddLanguage ltz .ltz
 > #
 > # Malay
 > AddLanguage ms .ms
 > #
 > # Nederlands (Dutch)
 > AddLanguage nl .nl
 > #
 > # Norwegian
722a790,797
 > #
 > # Norwegian Nynorsk
 > AddLanguage nn .nn
 > #
 > # Polish
 > AddLanguage pl .po
 > #
 > # Portuguese (Brazilian)
724,725c799,812
< AddLanguage ltz .ltz
< AddLanguage ca .ca
---
 > #
 > # Portugese (Portugal)
 > AddLanguage pt .pt
 > #
 > # Romanian
 > AddLanguage ro .ro
 > #
 > # Russian
 > AddLanguage ru .ru
 > #
 > # Sanskrit
 > AddLanguage sa .sa
 > #
 > # Spanish (Espanol)
726a814,818
 > #
 > # Swahili
 > AddLanguage sw .sw
 > #
 > # Swedish
728,730c820,821
< AddLanguage cz .cz
< AddLanguage ru .ru
< AddLanguage tw .tw
---
 > #
 > # Taiwanese
732c823,834
< AddLanguage hr .hr
---
 > #
 > # Thai
 > AddLanguage th .th
 > #
 > # Turkish
 > AddLanguage tr .tr
 > #
 > # Vietnamese
 > AddLanguage vi .vi
 > #
 > # Zulu
 > AddLanguage zu .zu
738,739c840,841
< # Just list the languages in decreasing order of preference. We have
< # more or less alphabetized them here. You probably want to change this.
---
 > # Just list the languages in decreasing order of preference.
 > # You probably want to change this.
741c843
< LanguagePriority en da nl et fr de el it ja ko no pl pt pt-br ltz ca 
es sv tw
---
 > LanguagePriority en es fr de it da nl et el zh-cn ja ko no pl pt 
pt-br ltz ca sv tw id




Mime
View raw message