httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject svn commit: r634647 - in /httpd/httpd/trunk/docs/conf/extra: httpd-languages.conf.in httpd-manual.conf.in
Date Fri, 07 Mar 2008 12:49:39 GMT
Author: nd
Date: Fri Mar  7 04:49:39 2008
New Revision: 634647

URL: http://svn.apache.org/viewvc?rev=634647&view=rev
Log:
add language definitions for turkish

Modified:
    httpd/httpd/trunk/docs/conf/extra/httpd-languages.conf.in
    httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in

Modified: httpd/httpd/trunk/docs/conf/extra/httpd-languages.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-languages.conf.in?rev=634647&r1=634646&r2=634647&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-languages.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-languages.conf.in Fri Mar  7 04:49:39 2008
@@ -38,7 +38,8 @@
 # Korean (ko) - Luxembourgeois* (ltz) - Norwegian Nynorsk (nn)
 # Norwegian (no) - Polish (pl) - Portugese (pt)
 # Brazilian Portuguese (pt-BR) - Russian (ru) - Swedish (sv)
-# Simplified Chinese (zh-CN) - Spanish (es) - Traditional Chinese (zh-TW)
+# Turkish (tr) - Simplified Chinese (zh-CN) - Spanish (es)
+# Traditional Chinese (zh-TW)
 #
 AddLanguage ca .ca
 AddLanguage cs .cz .cs
@@ -64,6 +65,7 @@
 AddLanguage pt-BR .pt-br
 AddLanguage ru .ru
 AddLanguage sv .sv
+AddLanguage tr .tr
 AddLanguage zh-CN .zh-cn
 AddLanguage zh-TW .zh-tw
 
@@ -73,7 +75,7 @@
 # Just list the languages in decreasing order of preference. We have
 # more or less alphabetized them here. You probably want to change this.
 #
-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
+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 tr zh-CN zh-TW
 
 #
 # ForceLanguagePriority allows you to serve a result page rather than
@@ -136,4 +138,4 @@
 AddCharset gb2312  .gb2312 .gb
 AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
 AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
-AddCharset shift_jis   .shift_jis .sjis
\ No newline at end of file
+AddCharset shift_jis   .shift_jis .sjis

Modified: httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in?rev=634647&r1=634646&r2=634647&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-manual.conf.in Fri Mar  7 04:49:39 2008
@@ -7,7 +7,7 @@
 # Required modules: mod_alias, mod_setenvif, mod_negotiation
 #
 
-AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "@exp_manualdir@$1"
+AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru|tr))?(/.*)?$ "@exp_manualdir@$1"
 
 <Directory "@exp_manualdir@">
     Options Indexes
@@ -18,9 +18,9 @@
         SetHandler type-map
     </Files>
 
-    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru)/ prefer-language=$1
-    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru)){2,}(/.*)?$ /manual/$1$2
+    SetEnvIf Request_URI ^/manual/(de|en|es|fr|ja|ko|pt-br|ru|tr)/ prefer-language=$1
+    RedirectMatch 301 ^/manual(?:/(de|en|es|fr|ja|ko|pt-br|ru|tr)){2,}(/.*)?$ /manual/$1$2
 
-    LanguagePriority en de es fr ja ko pt-br ru 
+    LanguagePriority en de es fr ja ko pt-br ru tr
     ForceLanguagePriority Prefer Fallback
 </Directory>



Mime
View raw message