Skip to content

Commit

Permalink
Add 2022 template changes
Browse files Browse the repository at this point in the history
  • Loading branch information
r12a committed May 21, 2022
1 parent 49385d8 commit 7c3e81b
Show file tree
Hide file tree
Showing 10 changed files with 217 additions and 219 deletions.
46 changes: 23 additions & 23 deletions questions/qa-headers-charset.de.html
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>HTTP-Header überprüfen</title>
<meta name="description" content="Wie kann ich die Information über die Zeichencodierung prüfen, die im HTTP-Header eines Webdokuments gesendet wird?" />
<script type="text/javascript">
<script>
var f = { }

// AUTHORS should fill in these assignments:
Expand Down Expand Up @@ -32,14 +32,14 @@

f.additionalLinks = ''
</script>
<script type="text/javascript" src="qa-headers-charset-data/translations.js"> </script>
<script type="text/javascript" src="../javascript/doc-structure/article-dt.js"> </script>
<script type="text/javascript" src="../javascript/boilerplate-text/boilerplate-de.js"></script><!--TRANSLATORS must change -en to the subtag for their language!-->
<script type="text/javascript" src="../javascript/doc-structure/article.js"> </script>
<script type="text/javascript" src="../javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="../style/article-2016.css" type="text/css" />
<script src="qa-headers-charset-data/translations.js"> </script>
<script src="../javascript/doc-structure/article-dt.js"> </script>
<script src="../javascript/boilerplate-text/boilerplate-de.js"> </script>
<!--TRANSLATORS must change -en in the line just above to the subtag for their language! -->
<script src="../javascript/doc-structure/article-2022.js"> </script>
<script src="../javascript/articletoc-2022.js"></script>
<link rel="stylesheet" href="../style/article-2022.css" />
<link rel="copyright" href="#copyright"/>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>

<body>
Expand All @@ -52,7 +52,7 @@ <h1>HTTP-Header überprüfen</h1>

<section id="sidebarExtras">
<section>
<h2 id="links" class="notoc"><a href="#links">Verwandte Links</a></h2>
<h2 id="links" class="notoc">Verwandte Links</h2>
<p><a class="print" href="https://validator.w3.org/i18n-checker/">i18n-Checker</a></p>
<p><a class="print" href="http://webtools.mozilla.org/web-sniffer/">Mozilla Web-Sniffer</a></p>
<p><a class="print" href="http://www.delorie.com/web/headers.html">Delorie HTTP Header Viewer</a></p>
Expand All @@ -75,14 +75,14 @@ <h2 id="links" class="notoc"><a href="#links">Verwandte Links</a></h2>



<section>
<h2 id="i18nchecker"><a href="#i18nchecker">Der i18n-Checker</a></h2>
<section id="i18nchecker">
<h2>Der i18n-Checker</h2>
<p>Der vom W3C entwickelte <a class="print" href="https://validator.w3.org/i18n-checker/">Internationalization-Checker</a> prüft Webseiten auf verschiedene für die Internationalisierung problematische Dinge. Er enthält auch einen Abschnitt, der die mit Internationalisierung verbundenen Informationen über eine Seite zusammenfasst, wie bspw. Zeichencodierung, Sprachangabe usw. Dieser Abschnitt zeigt, ob eine Zeichencodierungs-Angabe im HTTP-Header vorliegt, und wenn ja, welche.</p>
<p>Besonders nützlich ist am i18n-Checker, dass er auch andere, im Dokument vorliegende Zeichencodierungs-Angaben anzeigt und warnt, wenn diese verschieden sind.</p>
</section>

<section>
<h2 id="webbased"><a href="#webbased">Einen webbasierten Dienst verwenden</a></h2>
<section id="webbased">
<h2>Einen webbasierten Dienst verwenden</h2>
<p>Es gibt verschiedene Dienste, die alle HTTP-Header und den Quelltext (HTML/XHTML) des vom Server ausgelieferten Dokuments anzeigen, nachdem man dessen Adresse angegeben hat:</p>
<ul>
<li><a class="print" href="http://webtools.mozilla.org/web-sniffer/">Mozilla Web-Sniffer</a></li>
Expand All @@ -95,8 +95,8 @@ <h2 id="webbased"><a href="#webbased">Einen webbasierten Dienst verwenden</a></h
<p>Es kann auch sein, dass kein <code class="kw" translate="no">charset</code>-Parameter vorhanden ist. Das ist in Ordnung, wenn das Dokument selbst seine Zeichencodierung angibt.</p>
</section>

<section>
<h2 id="validator"><a href="#validator">Den W3C-Markup-Validator verwenden</a></h2>
<section id="validator">
<h2>Den W3C-Markup-Validator verwenden</h2>
<p>Um das Markup zu überprüfen, muss der <a class="print" href="http://validator.w3.org/">Markup-Validator</a> sicherstellen, dass er das zu prüfende Dokument korrekt decodiert.
Er zeigt eine Fehlermeldung, wenn er keine Information über die Zeichencodierung vorfindet, wenn er widersprüchliche Informationen vorfindet oder wenn er das
Dokument nicht mit der angegebenen Zeichencodierung decodieren kann.</p>
Expand All @@ -106,23 +106,23 @@ <h2 id="validator"><a href="#validator">Den W3C-Markup-Validator verwenden</a></
ob bspw. ein Dokument, das angibt, es sei <code>iso-8859-1</code>-codiert, in Wahrheit nicht <code>iso-8859-2</code> oder eine andere Codierung verwendet.</p>
</section>

<section>
<h2 id="telnet"><a href="#telnet"><code>telnet</code> oder ein anderes Kommandozeilen-Tool verwenden</a></h2>
<section id="telnet">
<h2><code>telnet</code> oder ein anderes Kommandozeilen-Tool verwenden</h2>
<p>Hierzu benötigt man etwas mehr Erfahrung, das ist aber leichter zu automatisieren. Ein anderes Kommandozeilen-Tool ist <code>wget</code> (mit Option <code>-S</code> oder <code>-s</code>).</p>
</section>


<section>
<h2 id="bytheway"><a href="#bytheway">By the way</a></h2>
<section id="bytheway">
<h2>Übrigens</h2>
<p>Manche Server führen eine Umcodierung durch und senden Webdokumente an verschiedene Clients in verschiedenen Zeichencodierungen. Das geschieht bspw.
auf einigen Servern in Russland. Das erfordert besondere Achtsamkeit, denn ein Browser, der bspw. auf einem Mac oder einem Windows-System läuft, könnte eine
andere Zeichencodierung anzeigen als ein webbasierter Dienst oder der W3C-Markup-Validator (die meist auf
UNIX-Systemen basieren).</p>
</section>


<section>
<h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
<section id="endlinks">
<h2>Literaturhinweise</h2>
<aside class="section" id="survey"> </aside><script>document.getElementById('survey').innerHTML = g.survey</script>

<ul id="full-links">
Expand All @@ -145,7 +145,7 @@ <h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
</ul>
</section>

<footer id="thefooter"></footer><script type="text/javascript">document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script type="text/javascript">completePage()</script>
<footer id="thefooter"></footer><script>document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script>completePage()</script>
</body>
</html>
36 changes: 18 additions & 18 deletions questions/qa-headers-charset.en.html
Expand Up @@ -34,12 +34,12 @@
</script>
<script src="qa-headers-charset-data/translations.js"> </script>
<script src="../javascript/doc-structure/article-dt.js"> </script>
<script src="../javascript/boilerplate-text/boilerplate-en.js"></script><!--TRANSLATORS must change -en to the subtag for their language!-->
<script src="../javascript/doc-structure/article.js"> </script>
<script src="../javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="../style/article-2016.css" type="text/css" />
<script src="../javascript/boilerplate-text/boilerplate-en.js"> </script>
<!--TRANSLATORS must change -en in the line just above to the subtag for their language! -->
<script src="../javascript/doc-structure/article-2022.js"> </script>
<script src="../javascript/articletoc-2022.js"></script>
<link rel="stylesheet" href="../style/article-2022.css" />
<link rel="copyright" href="#copyright"/>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>

<body>
Expand All @@ -52,7 +52,7 @@ <h1>Checking HTTP Headers</h1>

<section id="sidebarExtras">
<section>
<h2 id="links" class="notoc"><a href="#links">Related links</a></h2>
<h2 class="notoc">Related links</h2>
<p><a class="print" href="https://validator.w3.org/i18n-checker/">i18n Checker</a></p>
<p><a class="print" href="http://webtools.mozilla.org/web-sniffer/">Mozilla Web-sniffer</a></p>
<p><a class="print" href="http://www.delorie.com/web/headers.html">Delorie HTTP Header Viewer</a></p>
Expand All @@ -75,8 +75,8 @@ <h2 id="links" class="notoc"><a href="#links">Related links</a></h2>



<section>
<h2 id="i18nchecker"><a href="#i18nchecker">The i18n Checker</a></h2>
<section id="i18nchecker">
<h2>The i18n Checker</h2>
<p>The <a class="print" href="https://validator.w3.org/i18n-checker/">Internationalization Checker tool</a>, developed by the W3C, checks web pages for various internationalisation issues. It also has an information section that summarises key internationalization-related information about a page, such as character encoding and language declarations, etc. That section tells you whether an encoding declaration is used in the HTTP header, and if so, what is the encoding.</p>
<p>The i18n checker tool is particularly useful, since it also shows you other encoding declarations used in the document, and raises a flag if there are differences.</p>
</section>
Expand All @@ -85,8 +85,8 @@ <h2 id="i18nchecker"><a href="#i18nchecker">The i18n Checker</a></h2>



<section>
<h2 id="webbased"><a href="#webbased">Use a Web-based service</a></h2>
<section id="webbased">
<h2>Use a Web-based service</h2>
<p>There are several services that show you all the HTTP headers and the (HTML) source of the document returned from the server
after you enter the address of the document you are interested in:</p>
<ul>
Expand All @@ -100,8 +100,8 @@ <h2 id="webbased"><a href="#webbased">Use a Web-based service</a></h2>
encoding.</p>
</section>

<section>
<h2 id="validator"><a href="#validator">Use the W3C Markup Validation Service</a></h2>
<section id="validator">
<h2>Use the W3C Markup Validation Service</h2>
<p>To check the markup, the <a class="print" href="http://validator.w3.org/">Markup Validation Service</a> has to make sure it correctly decodes the
document it checks. It will show an error message if it cannot find information about the encoding, or if it finds conflicting information, or if it
cannot decode the document according to the information it found.</p>
Expand All @@ -111,24 +111,24 @@ <h2 id="validator"><a href="#validator">Use the W3C Markup Validation Service</a
whether for example, a document claiming to be <code>iso-8859-1</code> is actually encoded using <code>iso-8859-2</code> or some other encoding.</p>
</section>

<section>
<h2 id="telnet"><a href="#telnet">Use <code>telnet</code> or another command-line tool</a></h2>
<section id="telnet">
<h2>Use <code>telnet</code> or another command-line tool</h2>
<p>This requires a bit more expertise, but may be easier to automate. Another command line tool may be <code>wget</code> (with a <code>-S</code> or <code>-s</code> option).</p>
</section>



<section>
<h2 id="bytheway"><a href="#bytheway">By the way</a></h2>
<section id="bytheway">
<h2>By the way</h2>
<p>Some servers transcode the Web documents they serve to different character encodings for different clients. This happens for example with
some servers in Russia. This requires special care, because your browser, running e.g. on a Mac or on a Windows system, may indicate using a
different character encoding than the encoding given to you by a Web-based service or the W3C Markup Validation Service (which are mostly based on
UNIX systems).</p>
</section>


<section>
<h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
<section id="endlinks">
<h2>Further reading</h2>
<aside class="section" id="survey"> </aside><script>document.getElementById('survey').innerHTML = g.survey</script>

<ul id="full-links">
Expand Down
46 changes: 23 additions & 23 deletions questions/qa-headers-charset.es.html
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8" />
<title>Verificación de encabezados HTTP</title>
<meta name="description" content="¿Cómo puedo verificar la información sobre la codificación de caracteres enviada en el encabezado HTTP de un documento web?" />
<script type="text/javascript">
<script>
var f = { }

// AUTHORS should fill in these assignments:
Expand Down Expand Up @@ -32,14 +32,14 @@

f.additionalLinks = ''
</script>
<script type="text/javascript" src="qa-headers-charset-data/translations.js"> </script>
<script type="text/javascript" src="../javascript/doc-structure/article-dt.js"> </script>
<script type="text/javascript" src="../javascript/boilerplate-text/boilerplate-es.js"></script><!--TRANSLATORS must change -en to the subtag for their language!-->
<script type="text/javascript" src="../javascript/doc-structure/article.js"> </script>
<script type="text/javascript" src="../javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="../style/article-2016.css" type="text/css" />
<script src="qa-headers-charset-data/translations.js"> </script>
<script src="../javascript/doc-structure/article-dt.js"> </script>
<script src="../javascript/boilerplate-text/boilerplate-es.js"> </script>
<!--TRANSLATORS must change -en in the line just above to the subtag for their language! -->
<script src="../javascript/doc-structure/article-2022.js"> </script>
<script src="../javascript/articletoc-2022.js"></script>
<link rel="stylesheet" href="../style/article-2022.css" />
<link rel="copyright" href="#copyright"/>
<!--[if lt IE 9]><script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
</head>

<body>
Expand All @@ -52,7 +52,7 @@ <h1>Verificación de encabezados HTTP</h1>

<section id="sidebarExtras">
<section>
<h2 id="links" class="notoc"><a href="#links">Enlaces relacionados</a></h2>
<h2 id="links" class="notoc">Enlaces relacionados</h2>
<p><a class="print" href="https://validator.w3.org/i18n-checker/">El Verificador i18n</a></p>
<p><a class="print" href="http://webtools.mozilla.org/web-sniffer/">Mozilla Web-sniffer</a></p>
<p><a class="print" href="http://www.delorie.com/web/headers.html">Delorie HTTP Header Viewer</a></p>
Expand All @@ -73,14 +73,14 @@ <h2 id="links" class="notoc"><a href="#links">Enlaces relacionados</a></h2>
<p>En especial, es importante observar que la codificación declarada en el encabezado del HTTP anula todas las declaraciones de codificación en HTML del documento y los archivos CSS.</p>


<section>
<h2 id="i18nchecker"><a href="#i18nchecker">Verificador de i18n</a></h2>
<section id="i18nchecker">
<h2>Verificador de i18n</h2>
<p>La <a class="print" href="https://validator.w3.org/i18n-checker/">herramienta del verificador de internacionalización</a>, desarrollada por W3C, verifica las páginas web en busca de diferentes problemas de internacionalización. También tiene una sección de información que resume la información clave relacionada con la internacionalización a una página más o menos, como codificación de caracteres y declaraciones de idioma, etc. Esta sección le indica si se utiliza una declaración de codificación en el encabezado de HTTP y, si éste es el caso, cuál es la codificación.</p>
<p>El verificador de i18n es en verdad útil, debido a que también le muestra otras declaraciones de codificación en el documento, y levanta una bandera si existen diferencias.</p>
</section>

<section>
<h2 id="webbased"><a href="#webbased">Utilice un servicio basado en la Web</a></h2>
<section id="webbased">
<h2>Utilice un servicio basado en la Web</h2>
<p>Existen varios servicios que le muestran todos los encabezados HTTP y la fuente (HTML/XHTML) del documento devuelto desde el servidor, después de que usted ingrese la dirección del documento que le interesa:</p>
<ul>
<li><a class="print" href="http://www.delorie.com/web/headers.html">Delorie HTTP Header Viewer</a></li>
Expand All @@ -92,26 +92,26 @@ <h2 id="webbased"><a href="#webbased">Utilice un servicio basado en la Web</a></
<p>Nota: Es posible que el parámetro <code class="kw" translate="no">charset</code> no esté presente. Esto es correcto si el propio documento indica su codificación de caracteres.</p>
</section>

<section>
<h2 id="validator"><a href="#validator">Utilice el Servicio de validación de etiquetas W3C</a></h2>
<section id="validator">
<h2>Utilice el Servicio de validación de etiquetas W3C</h2>
<p>Para verificar la etiqueta, el <a class="print" href="http://validator.w3.org/">Servicio de validación de etiquetas</a> debe asegurarse de que decodifica correctamente el documento que está verificando. Mostrará un mensaje de error si no puede encontrar información sobre la codificación, si encuentra información contradictoria o si no puede decodificar el documento según la información encontrada.</p>
<p>Para conocer la codificación que encontró el verificador, puede utilizar la <a class="print" href="http://validator.w3.org/#validate_by_uri+with_options">interfaz extendida</a>. En esta interfaz, también puede seleccionar la opción <span class="ui-text">mostrar fuente</span> y luego verificar <em>visualmente</em> que dicha fuente se ha interpretado correctamente. Esto es útil para verificar que usted realmente está usando la codificación correcta. No siempre es posible verificar de forma <em>mecánica</em> si, por ejemplo, un documento respecto del cual se afirma que es <code>iso-8859-1</code> está realmente codificado mediante la <code>iso-8859-2</code> o alguna otra codificación.</p>
</section>

<section>
<h2 id="telnet"><a href="#telnet">Utilice <code>telnet</code> u otra herramienta de línea de comandos</a></h2>
<section id="telnet">
<h2>Utilice <code>telnet</code> u otra herramienta de línea de comandos</h2>
<p>Esto requiere un poco más de experiencia, pero puede resultar más fácil de automatizar. Otra herramienta de línea de comandos puede ser <code>wget</code> (con una opción <code>-S</code> o <code>-s</code>).</p>
</section>


<section>
<h2 id="bytheway"><a href="#bytheway">By the way</a></h2>
<section id="bytheway">
<h2>A propósito</h2>
<p>Algunos servidores transcodifican los documentos web que dan servicio para las diferentes codificaciones de caracteres de los distintos clientes. Esto sucede, por ejemplo, con algunos servidores de Rusia. Esto requiere tener especial cuidado, ya que el explorador, que se ejecuta por ejemplo en Mac o en un sistema Windows, puede indicar el uso de una codificación de caracteres distinta a la provista mediante un servicio basado en la Web o un Servicio de validación de etiquetas W3C (que se basa principalmente en los sistemas UNIX).</p>
</section>


<section>
<h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
<section id="endlinks">
<h2>Lecturas complementarias</h2>
<aside class="section" id="survey"> </aside><script>document.getElementById('survey').innerHTML = g.survey</script>

<ul id="full-links">
Expand All @@ -134,7 +134,7 @@ <h2 id="endlinks"><a href="#endlinks">Further reading</a></h2>
</ul>
</section>

<footer id="thefooter"></footer><script type="text/javascript">document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script type="text/javascript">completePage()</script>
<footer id="thefooter"></footer><script>document.getElementById('thefooter').innerHTML = g.bottomOfPage</script>
<script>completePage()</script>
</body>
</html>

0 comments on commit 7c3e81b

Please sign in to comment.