-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


On 2/5/14 3:36 PM, Leif Halvard Silli wrote:
> Tom Fredrik Blenning Klaussen, Wed, 05 Feb 2014 15:08:23 +0100: Hi
> 
> Attached is a patch which provides Norwegian bokmål language
> support for error documents.
> 
> A bit of background: The Norwegian language debate is a bit 
> contentious, close to 90% write Norwegian-Bokmål, and almost all
> of the reminder write Norwegian-Nynorsk. Thus, there is no question
> that this patch correctly provides support for nb(IANA
> macrolanguage)
> 
>> May be you meant "no"? The IANA macrolanguage is "no", not "nb".
>> And I see that your patch applies to content-language "no" in
>> addition to "nb" and the grandfathered tag. Of course, on my own
>> server, I would perhaps want to disable the inclusion of "no" …
> 
>> A Norwegian author (of both languages) once said he welcomed the
>> return of the beautiful fight between Norwegian Bokmål and
>> Norwegian Nynorsk with regard to which language had more
>> translations of the Greek and Latin classics ...
> 
>> As a Norwegian Nynorsk-man, I welcome the same fight in the field
>> of Apache … :-)
> 
>> Leif Halvard Silli

So I did a little bit more digging, realizing I started in the wrong
end with serving - "no" and expanding with "nb". Here is a new patch,
it still serves Norwegian(no) as bokmål, but only claims to provide
Bokmål(nb). The rest is probably due to some setting in Apache
somewhere which equates the two. (Feel free to change it if you find
it - Leif Halvard ;-) )

According to my high-school diploma I'm fluent in both languages,
although seeing all the spelling errors when I fixed the patch the
second time around makes me doubt I can write either, I would leave
the translation into Nynorsk to someone more competent. I did a little
bit on improving the language as well this time around.

Eg har ikkje skreve nynorsk seriøst sidan eg måtte gje ut en eksamen i
2004, så eg trur det er betre om td. du freistar dette - Leif Halvard.

Best regards
Tom Fredrik Klaussen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.20 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJS8mS9AAoJEFjIO51VI9Ex9EIIAJA63mDJZGhM0vXIcGP2pc+Z
r+KCad6YZ+cB1gJmCy0HQXXjLmvM/+KsR6upHCLnLEp3qhTuZ43rH21X04ATj3jv
yoqrv/69CywPjmg4IOjGy6s+/RJkyashDyXgUoam7LPU7iNTCpUPdqEyG6QdYL2J
XOK0gvXJyZ8jNxIp5NEoD17E/C5hBDtyAZ4kfcFF2pGA9UXFq6e9ogA4/IxKyFUM
x51yVyrnvKoZQy4s4rJoX2OuqN0+B9ZOS550dn22UnB8tcfM5dqJCh5DMkgqcmYu
S/UIko2z0vLjSLRO9N5IzKogdZNKL7Ai2Cn2lZYgnHrLBoEJes9V7ym+MraraRQ=
=gRuO
-----END PGP SIGNATURE-----
Index: docs/error/HTTP_BAD_GATEWAY.html.var
===================================================================
--- docs/error/HTTP_BAD_GATEWAY.html.var        (revision 1564709)
+++ docs/error/HTTP_BAD_GATEWAY.html.var        (working copy)
@@ -176,6 +176,24 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Ugyldig Gateway!"
+--><!--#include virtual="include/top.html" -->
+
+    Proxyserveren mottok et ugyldig svar fra
+    en oppstrøms server.
+
+  <!--#if expr="-n v('REDIRECT_ERROR_NOTES')" -->
+    <!--#include virtual="include/spacer.html" -->
+    <!--#echo encoding="none" var="REDIRECT_ERROR_NOTES" -->
+  <!--#endif -->
+
+<!--#include virtual="include/bottom.html" -->   
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_BAD_REQUEST.html.var
===================================================================
--- docs/error/HTTP_BAD_REQUEST.html.var        (revision 1564709)
+++ docs/error/HTTP_BAD_REQUEST.html.var        (working copy)
@@ -126,6 +126,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Ugyldig spørring!"
+--><!--#include virtual="include/top.html" -->
+
+    Din nettleser eller proxy sendte en forespørsel
+    som denne serveren ikke kunne forstå.
+
+<!--#include virtual="include/bottom.html" -->  
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_FORBIDDEN.html.var
===================================================================
--- docs/error/HTTP_FORBIDDEN.html.var  (revision 1564709)
+++ docs/error/HTTP_FORBIDDEN.html.var  (working copy)
@@ -225,6 +225,30 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Adgang forbudt!"
+--><!--#include virtual="include/top.html" -->
+
+  <!--#if expr="v('REDIRECT_URL') =~ m:/$:" -->
+
+    Du har ikke tilstrekkelige rettigheter for å få tilgang til den
+    ønskede katalogen. Det eksisterer ikke et indeksdokument, eller
+    katalogen er lesebeskyttet.
+
+  <!--#else -->
+
+    Du har ikke tilstrekkelige rettigheter for å få adgang til det
+    ønskede dokumentet. Objektet er lesebeskyttet, eller ikke lesbart
+    for serveren.
+
+  <!--#endif -->
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_GONE.html.var
===================================================================
--- docs/error/HTTP_GONE.html.var       (revision 1564709)
+++ docs/error/HTTP_GONE.html.var       (working copy)
@@ -256,6 +256,32 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Ressursen er ikke lenger tilgjengelig!"
+--><!--#include virtual="include/top.html" -->
+
+    Den ønskede adressen er ikke lenger tilgjengelig hos denne
+    serveren og det finnes ingen adresse for videresending.
+
+  <!--#if expr="-n v('HTTP_REFERER')" -->
+
+    Venligst informer forfatteren bak 
+    <a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">den
+    aktuelle siden</a> om at lenken er utdatert.
+ 
+  <!--#else -->
+
+    Om du fulgte en lenke fra en ekstern side, venligst kontakt
+    forfatteren bak den siden.
+
+  <!--#endif -->
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_INTERNAL_SERVER_ERROR.html.var
===================================================================
--- docs/error/HTTP_INTERNAL_SERVER_ERROR.html.var      (revision 1564709)
+++ docs/error/HTTP_INTERNAL_SERVER_ERROR.html.var      (working copy)
@@ -274,6 +274,34 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Serverfeil!"
+--><!--#include virtual="include/top.html" -->
+
+  <!--#if expr="-n v('REDIRECT_ERROR_NOTES')" -->
+ 
+    Det inntraff en intern feil hos serveren, og det var ikke mulig å
+    gjennomføre din forespørsel.
+
+    <!--#include virtual="include/spacer.html" -->
+
+    Feilmelding:
+    <br /><!--#echo encoding="none" var="REDIRECT_ERROR_NOTES" -->
+
+  <!--#else -->
+
+    Det inntraff en intern feil hos serveren, og det var ikke mulig å
+    gjennomføre din forespørsel. Serveren er enten overbelastet, eller
+    CGI-skriptet inneholder feil.
+
+  <!--#endif -->
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_LENGTH_REQUIRED.html.var
===================================================================
--- docs/error/HTTP_LENGTH_REQUIRED.html.var    (revision 1564709)
+++ docs/error/HTTP_LENGTH_REQUIRED.html.var    (working copy)
@@ -136,6 +136,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Feil Content-Length!"
+--><!--#include virtual="include/top.html" -->
+
+    En forespørsel med <!--#echo var="REDIRECT_REQUEST_METHOD" -->
+    metoden krever en korrekt <code>Content-Length</code> header.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_METHOD_NOT_ALLOWED.html.var
===================================================================
--- docs/error/HTTP_METHOD_NOT_ALLOWED.html.var (revision 1564709)
+++ docs/error/HTTP_METHOD_NOT_ALLOWED.html.var (working copy)
@@ -126,6 +126,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Metoden er ikke tillatt!"
+--><!--#include virtual="include/top.html" -->
+
+    <!--#echo var="REDIRECT_REQUEST_METHOD" --> metoden er ikke
+    tillatt for den forespurte adressen.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_NOT_FOUND.html.var
===================================================================
--- docs/error/HTTP_NOT_FOUND.html.var  (revision 1564709)
+++ docs/error/HTTP_NOT_FOUND.html.var  (working copy)
@@ -267,6 +267,33 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Objektet ble ikke funnet!"
+--><!--#include virtual="include/top.html" -->
+
+    Den etterspurte adressen finnes ikke på denne serveren.
+
+  <!--#if expr="-n v('HTTP_REFERER')" -->
+
+    Lenken på den
+    <a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">forrige 
siden</a> 
+ser ut til å være feil eller utdatert. Venligst informer forfatteren av
+    <a href="<!--#echo encoding="url" var="HTTP_REFERER" -->">siden</a>
+    om feilen.
+
+  <!--#else -->
+
+    Om du skrev inn adressen manuelt, vennligst kontroller stavingen og
+    forsøk igjen.
+
+  <!--#endif -->
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_NOT_IMPLEMENTED.html.var
===================================================================
--- docs/error/HTTP_NOT_IMPLEMENTED.html.var    (revision 1564709)
+++ docs/error/HTTP_NOT_IMPLEMENTED.html.var    (working copy)
@@ -119,6 +119,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Kan ikke behandle forspørsel!"
+--><!--#include virtual="include/top.html" -->
+
+    Serveren støtter ikke den handlingen som ønskes utført av
+    nettleseren.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
@@ -184,7 +197,7 @@
 Content-type: text/html; charset=UTF-8
 Body:----------sv--
 <!--#set var="CONTENT_LANGUAGE" value="sv"
---><!--#set var="TITLE" value="Kan ej utf&ouml;ra f&ouml;rfr&aring;gan!"
+--><!--#set var="TITLE" value="Kan ikke utf!"
 --><!--#include virtual="include/top.html" -->
 
     Servern st&ouml;djer inte den handling som &ouml;nskades
Index: docs/error/HTTP_PRECONDITION_FAILED.html.var
===================================================================
--- docs/error/HTTP_PRECONDITION_FAILED.html.var        (revision 1564709)
+++ docs/error/HTTP_PRECONDITION_FAILED.html.var        (working copy)
@@ -121,6 +121,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Nødvendig forutsetning ikke oppfyllt!"
+--><!--#include virtual="include/top.html" -->
+
+    Den nødvendige forutsetningen for forespørselen passerte ikke
+    vurderingen med positivt resultat.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var
===================================================================
--- docs/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var   (revision 1564709)
+++ docs/error/HTTP_REQUEST_ENTITY_TOO_LARGE.html.var   (working copy)
@@ -135,6 +135,20 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="For stor enhet i forspørsel!"
+--><!--#include virtual="include/top.html" -->
+
+    <!--#echo var="REDIRECT_REQUEST_METHOD" --> metoden tillater ikke
+    de sendte data eller så overskrider datamengenden
+    kapasitetsbegrensningen.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_REQUEST_TIME_OUT.html.var
===================================================================
--- docs/error/HTTP_REQUEST_TIME_OUT.html.var   (revision 1564709)
+++ docs/error/HTTP_REQUEST_TIME_OUT.html.var   (working copy)
@@ -129,6 +129,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Tidsgrense overskredet!"
+--><!--#include virtual="include/top.html" -->
+
+    Serveren stengte forbindelsen fordi nettleseren ikke avsluttet
+    forespørselen innen tidsgrensen.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_REQUEST_URI_TOO_LARGE.html.var
===================================================================
--- docs/error/HTTP_REQUEST_URI_TOO_LARGE.html.var      (revision 1564709)
+++ docs/error/HTTP_REQUEST_URI_TOO_LARGE.html.var      (working copy)
@@ -128,6 +128,20 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Forespurt URI for stor!"
+--><!--#include virtual="include/top.html" -->
+
+    Lengden på adressen som etterspurtes overskrider
+    kapasitetsgrensen for denne serveren. Forespørselen kan
+    ikke prosesseres.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_SERVICE_UNAVAILABLE.html.var
===================================================================
--- docs/error/HTTP_SERVICE_UNAVAILABLE.html.var        (revision 1564709)
+++ docs/error/HTTP_SERVICE_UNAVAILABLE.html.var        (working copy)
@@ -138,6 +138,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Tjenesten er ikke tilgjengelig!"
+--><!--#include virtual="include/top.html" -->
+
+    Serveren er midlertidig ikke i stand til å utføre din
+    forespørsel. Vennligst prøv igjen senere.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_UNAUTHORIZED.html.var
===================================================================
--- docs/error/HTTP_UNAUTHORIZED.html.var       (revision 1564709)
+++ docs/error/HTTP_UNAUTHORIZED.html.var       (working copy)
@@ -209,6 +209,27 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Autentisering kreves!"
+--><!--#include virtual="include/top.html" -->
+
+    Serveren kunne ikke verifisere at du har tillatelse til å besøke
+    adressen "<!--#echo encoding="url" var="REDIRECT_URL" -->".  Enten
+    oppga du feil opplysninger (f.eks. feil passord) eller så støtter
+    ikke din nettleser dette autentiseringsystemet.
+
+  <!--#include virtual="include/spacer.html" -->
+
+    Om du har tillatelse til å besøke siden, vennligst kontroler ditt
+    brukernavn og passord og forsøk igjen.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var
===================================================================
--- docs/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var     (revision 1564709)
+++ docs/error/HTTP_UNSUPPORTED_MEDIA_TYPE.html.var     (working copy)
@@ -120,6 +120,18 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Mediatypen støttes ikke!"
+--><!--#include virtual="include/top.html" -->
+
+    Serveren støtter ikke den mediatypen som ble forespurt.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/HTTP_VARIANT_ALSO_VARIES.html.var
===================================================================
--- docs/error/HTTP_VARIANT_ALSO_VARIES.html.var        (revision 1564709)
+++ docs/error/HTTP_VARIANT_ALSO_VARIES.html.var        (working copy)
@@ -133,6 +133,19 @@
 <!--#include virtual="include/bottom.html" -->
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+<!--#set var="CONTENT_LANGUAGE" value="nb"
+--><!--#set var="TITLE" value="Variant varierer også!"
+--><!--#include virtual="include/top.html" -->
+
+    En variant av den forespurte enheten er i seg selv en forhandelbar
+    ressurs. Tilgang ikke mulig.
+
+<!--#include virtual="include/bottom.html" -->
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
Index: docs/error/README
===================================================================
--- docs/error/README   (revision 1564709)
+++ docs/error/README   (working copy)
@@ -24,6 +24,7 @@
   | Italian (it)          | Luigi Rosa                               |
   | Japanese (ja)         | TAKAHASHI Makoto                         |
   | Korean (ko)           | Jaeho Shin                               |
+  | Norwegian Bokmål (nb) | Tom Fredrik Klaussen                     |
   | Polish (pl)           | Tomasz Kepczynski                        |
   | Romanian (ro)         | Andrei Besleaga                          |
   | Serbian (sr)          | Nikola Smolenski                         |
Index: docs/error/contact.html.var
===================================================================
--- docs/error/contact.html.var (revision 1564709)
+++ docs/error/contact.html.var (working copy)
@@ -74,6 +74,13 @@
 de <a href="mailto:<!--#echo encoding="url" var="SERVER_ADMIN" 
-->">webmaster</a> te contacteren.
 ----------nl--
 
+Content-language: nb
+Content-type: text/html; charset=UTF-8
+Body:----------nb--
+Om du tror dette skyldes en serverfeil, venligst kontakt
+<a href="mailto:<!--#echo encoding="url" var="SERVER_ADMIN" 
-->">webansvarlig</a>.
+----------nb--
+
 Content-language: pl
 Content-type: text/html; charset=UTF-8
 Body:----------pl--
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscr...@httpd.apache.org
For additional commands, e-mail: docs-h...@httpd.apache.org

Reply via email to