www-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

www/server select-language.html


From: Therese Godefroy
Subject: www/server select-language.html
Date: Tue, 28 Jan 2020 05:13:31 -0500 (EST)

CVSROOT:        /webcvs/www
Module name:    www
Changes by:     Therese Godefroy <th_g> 20/01/28 05:13:31

Modified files:
        server         : select-language.html 

Log message:
        Apply the patch originally proposed by Lorenzo on www-discuss
        ("403 Forbidden - /server/select-language.html" 2019-12-12),
        modified by Ineiev (2019-12-13) and Therese (2019-12-24),
        OK'ed by Lorenzo (2020-01-26).

CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/server/select-language.html?cvsroot=www&r1=1.14&r2=1.15

Patches:
Index: select-language.html
===================================================================
RCS file: /webcvs/www/www/server/select-language.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- select-language.html        1 Jan 2020 05:32:44 -0000       1.14
+++ select-language.html        28 Jan 2020 10:13:31 -0000      1.15
@@ -2,16 +2,56 @@
 <!-- Parent-Version: 1.77 -->
 <title>Select language
 - GNU Project - Free Software Foundation</title>
+<style type="text/css">
+<!--
+  #lscp-rb {
+    text-align: center;
+  }
+  span.lang-abbr, #lscp-rb a {
+    color: #a42e2b;
+    -webkit-user-select: none;
+  }
+  ul#lang-select-cp li {
+    columns: 1;
+    margin: 0em;
+    padding: 0.4em;
+    cursor: default;
+    list-style-type: none;
+  }
+  ul#lang-select-cp li a {
+    padding: 0.3em;
+    cursor: hand;
+    font-family: sans-serif;
+  }
+  ul#lang-select-cp li a:visited {
+    padding: 0.3em;
+    cursor: hand;
+  }
+  @media (min-width:25em) {
+    ul#lang-select-cp {
+      columns: 2;
+    }
+    ul#lang-select-cp li {
+      list-style-type: none;
+    }
+  }
+  @media (min-width:38em) {
+    ul#lang-select-cp {
+      columns: 3;
+    }
+  }
+-->
+</style>
  <!--#include virtual="/server/po/select-language.translist" -->
 <!--#include virtual="/server/banner.html" -->
 <h2>Select language</h2>
 
-<p>Dear visitor!  This page provides a means to specify your preferred
-language; this selection will have priority over the preferences set
-in your browser.  In order to do this,
-<a href="#explanation">we set a cookie</a>;
-you can reset it with the first option in this list, and your browser
-will reset it at the end of your session.</p>
+<p>This control panel sets your preferred language for the present visit
+to www.gnu.org, and has priority over the preferences of your web browser.
+This setting is stored in a <a href="#explanation">session cookie</a>,
+and will not affect your language preferences on other websites. The Reset
+option will delete the cookie, thus going back to the preferences of your
+browser.</p>
 
 <!--#if expr=";$QUERY_STRING; = /^[^<>]*;callback=([^;<>]+);[^<>]*$/" -->
 <!--#set var="callback" value="$1" -->
@@ -21,294 +61,286 @@
 
 <!--#set var="link_head"
  value="<a href='/server/select-language.html?goto=$callback;language=" -->
-<ul>
-<li>
-<!--#set var="link" value="${link_head}reset'>" -->
+
+<ul id="lang-select-cp">
+<li><!--#set var="link" value="${link_head}Reset' id='lscp-rb'>" -->
 <!--#echo encoding="none" var='link' -->
-Reset
-<span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}en' title='English'> [en] " -->
+  Reset
+<span class="gnun-split"></span></a>
+</li>
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[en]</span> ${link_head}en' title='English'>" 
-->
 <!--#echo encoding="none" var='link' -->
 English
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}af' title='Afrikaans'> [af] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[af]</span> ${link_head}af' 
title='Afrikaans'>" -->
 <!--#echo encoding="none" var='link' -->
 Afrikaans
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ar' title='العربية'> [ar] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ar]</span> ${link_head}ar' 
title='العربية'>" -->
 <!--#echo encoding="none" var='link' -->
 Arabic
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}az' title='Azərbaycanca'> [az] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[az]</span> ${link_head}az' 
title='Azərbaycanca'>" -->
 <!--#echo encoding="none" var='link' -->
 Azerbaijani
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}bg' title='български'> [bg] " 
-->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[bg]</span> ${link_head}bg' 
title='български'>" -->
 <!--#echo encoding="none" var='link' -->
 Bulgarian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}bn' title='বাংলা'> [bn] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[bn]</span> ${link_head}bn' 
title='বাংলা'>" -->
 <!--#echo encoding="none" var='link' -->
 Bengali
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}bs' title='bosanski'> [bs] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[bs]</span> ${link_head}bs' 
title='bosanski'>" -->
 <!--#echo encoding="none" var='link' -->
 Bosnian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ca' title='català'> [ca] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ca]</span> ${link_head}ca' title='català'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Catalan
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}cs' title='Česky'> [cs] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[cs]</span> ${link_head}cs' title='Česky'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Czech
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}da' title='dansk'> [da] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[da]</span> ${link_head}da' title='dansk'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Danish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}de' title='Deutsch'> [de] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[de]</span> ${link_head}de' title='Deutsch'>" 
-->
 <!--#echo encoding="none" var='link' -->
 German
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}el' title='ελληνικά'> [el] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[el]</span> ${link_head}el' 
title='ελληνικά'>" -->
 <!--#echo encoding="none" var='link' -->
 Greek
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}eo' title='Esperanto'> [eo] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[eo]</span> ${link_head}eo' 
title='Esperanto'>" -->
 <!--#echo encoding="none" var='link' -->
 Esperanto
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}es' title='español'> [es] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[es]</span> ${link_head}es' 
title='español'>" -->
 <!--#echo encoding="none" var='link' -->
 Spanish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}fa' title='فارسی'> [fa] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[fa]</span> ${link_head}fa' 
title='فارسی'>" -->
 <!--#echo encoding="none" var='link' -->
 Persian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}fi' title='suomi'> [fi] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[fi]</span> ${link_head}fi' title='suomi'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Finnish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}fr' title='français'> [fr] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[fr]</span> ${link_head}fr' 
title='français'>" -->
 <!--#echo encoding="none" var='link' -->
 French
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}gl' title='galego'> [gl] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[gl]</span> ${link_head}gl' title='galego'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Galician
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}he' title='עברית'> [he] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[he]</span> ${link_head}he' 
title='עברית'>" -->
 <!--#echo encoding="none" var='link' -->
 Hebrew
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}hr' title='hrvatski'> [hr] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[hr]</span> ${link_head}hr' 
title='hrvatski'>" -->
 <!--#echo encoding="none" var='link' -->
 Croatian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}hu' title='magyar'> [hu] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[hu]</span> ${link_head}hu' title='magyar'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Hungarian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}id' title='Bahasa Indonesia'> [id] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[id]</span> ${link_head}id' title='Bahasa 
Indonesia'>" -->
 <!--#echo encoding="none" var='link' -->
 Indonesian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}it' title='italiano'> [it] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[it]</span> ${link_head}it' 
title='italiano'>" -->
 <!--#echo encoding="none" var='link' -->
 Italian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ja' title='日本語'> [ja] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ja]</span> ${link_head}ja' 
title='日本語'>" -->
 <!--#echo encoding="none" var='link' -->
 Japanese
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}kn' title='ಕನ್ನಡ'> [kn] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[kn]</span> ${link_head}kn' 
title='ಕನ್ನಡ'>" -->
 <!--#echo encoding="none" var='link' -->
 Kannada
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ko' title='한국어'> [ko] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ko]</span> ${link_head}ko' 
title='한국어'>" -->
 <!--#echo encoding="none" var='link' -->
 Korean
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}lt' title='lietuvių'> [lt] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[lt]</span> ${link_head}lt' 
title='lietuvių'>" -->
 <!--#echo encoding="none" var='link' -->
 Lithuanian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}mk' title='македонски'> [mk] 
" -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[mk]</span> ${link_head}mk' 
title='македонски'>" -->
 <!--#echo encoding="none" var='link' -->
 Macedonian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ml' title='മലയാളം'> [ml] " 
-->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ml]</span> ${link_head}ml' 
title='മലയാളം'>" -->
 <!--#echo encoding="none" var='link' -->
 Malayalam
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}nb' title='norsk (bokmål)'> [nb] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[nb]</span> ${link_head}nb' title='norsk 
(bokmål)'>" -->
 <!--#echo encoding="none" var='link' -->
 Norwegian (Bokmål)
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}nl' title='Nederlands'> [nl] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[nl]</span> ${link_head}nl' 
title='Nederlands'>" -->
 <!--#echo encoding="none" var='link' -->
 Dutch
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}nn' title='norsk (nynorsk)'> [nn] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[nn]</span> ${link_head}nn' title='norsk 
(nynorsk)'>" -->
 <!--#echo encoding="none" var='link' -->
 Norwegian (Nynorsk)
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}pl' title='polski'> [pl] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[pl]</span> ${link_head}pl' title='polski'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Polish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}pt-br' title='português do Brasil'> 
[pt-br] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[pt-br]</span> ${link_head}pt-br' 
title='português do Brasil'>" -->
 <!--#echo encoding="none" var='link' -->
 Brazilian Portuguese
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ro' title='română'> [ro] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ro]</span> ${link_head}ro' 
title='română'>" -->
 <!--#echo encoding="none" var='link' -->
 Romanian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ru' title='русский'> [ru] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ru]</span> ${link_head}ru' 
title='русский'>" -->
 <!--#echo encoding="none" var='link' -->
 Russian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}sk' title='slovenčina'> [sk] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[sk]</span> ${link_head}sk' 
title='slovenčina'>" -->
 <!--#echo encoding="none" var='link' -->
 Slovak
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}sl' title='slovenščina'> [sl] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[sl]</span> ${link_head}sl' 
title='slovenščina'>" -->
 <!--#echo encoding="none" var='link' -->
 Slovenian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}sq' title='Shqip'> [sq] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[sq]</span> ${link_head}sq' title='Shqip'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Albanian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}sr' title='српски'> [sr] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[sr]</span> ${link_head}sr' 
title='српски'>" -->
 <!--#echo encoding="none" var='link' -->
 Serbian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}sv' title='svenska'> [sv] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[sv]</span> ${link_head}sv' title='svenska'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Swedish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}ta' title='தமிழ்'> [ta] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[ta]</span> ${link_head}ta' 
title='தமிழ்'>" -->
 <!--#echo encoding="none" var='link' -->
 Tamil
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}tl' title='Tagalog'> [tl] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[tl]</span> ${link_head}tl' title='Tagalog'>" 
-->
 <!--#echo encoding="none" var='link' -->
 Tagalog
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}tr' title='Türkçe'> [tr] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[tr]</span> ${link_head}tr' 
title='Türkçe'>" -->
 <!--#echo encoding="none" var='link' -->
 Turkish
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}uk' title='українська'> [uk] 
" -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[uk]</span> ${link_head}uk' 
title='українська'>" -->
 <!--#echo encoding="none" var='link' -->
 Ukrainian
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}uz' title='Oʻzbekcha'> [uz] " -->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[uz]</span> ${link_head}uz' 
title='Oʻzbekcha'>" -->
 <!--#echo encoding="none" var='link' -->
 Uzbek
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}zh-cn' title='简体中文'> [zh-cn] " 
-->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[zh-cn]</span> ${link_head}zh-cn' 
title='简体中文'>" -->
 <!--#echo encoding="none" var='link' -->
 Chinese (Simplified)
 <span class="gnun-split"></span></a></li>
-<li>
-<!--#set var="link" value="${link_head}zh-tw' title='繁體中文'> [zh-tw] " 
-->
+<li><!--#set var="link"
+  value="<span class='lang-abbr'>[zh-tw]</span> ${link_head}zh-tw' 
title='繁體中文'>" -->
 <!--#echo encoding="none" var='link' -->
 Chinese (Traditional)
 <span class="gnun-split"></span></a></li>
 </ul>
 
-<h3 id="explanation">How do you know my native language?  Are you spying on 
us?</h3>
+<hr class="thin" />
 
-  <p>As you browse the Web, your browser sends a header with the request
-of any document that indicates your language preference.  This is
-usually something you can configure in your browser settings.  If you
-downloaded a browser localized in Danish, it probably came
-preconfigured to send <code>Accept-Language: da</code>.  Our servers
-are configured to respond to this header by providing the page in the
-requested language, if the translation exists; otherwise, the original
-English page is sent.</p>
-
-<p>We recently added a &ldquo;Set Language&rdquo; link on the top of
-each page to allow you to override that setting and &ldquo;fix&rdquo;
-a certain language different from your browser's default setting.  For
-example, you could choose <em>English</em> to browse gnu.org even if
-your browser is set to Danish.  This feature uses a cookie.</p>
-
-<p>If you're concerned about your privacy on the Web you can try the
-Tor Browser Bundle available from
-<a href="https://torproject.org/"; rel="nofollow">https://torproject.org/</a>.
-Among many other improvements over generic browsers with regard to
-privacy, the TBB comes configured to appear to be like a
-Windows-based, US-English browser.</p>
+<h3 id="explanation">How do you know my native language?</h3>
 
+  <p>With each web resource requested, your browser sends an HTTP header
+that indicates your language preference as configured by you or by
+your system administrator. Our server reacts to this
+header by providing all web pages in the requested language, if an
+appropriate translation exists; otherwise, the original
+English page is served.</p>
+
+<p>This control panel can be used to override this preference and impose
+any arbitrary language over your browser's default setting. For
+example, you could choose <em>English</em> to browse www.gnu.org even if
+your browser is set to Danish. This feature uses a technical cookie called
+&ldquo;session cookie.&rdquo;</p>
 <p>You're right that the language setting of your browser can be used
-by some sites or third-parties to identify your specific browser and
-target you for advertising.  Tor provides the safest way we know to
-avoid such targeting.  Nevertheless, the GNU project does not use this
-nor any other targeting methods, not even cookies (exception made of
-the optional language override mentioned above): <strong>we simply
-care for our users and have no interest in spying on you</strong>.  The
-<code>Accept-Language</code> header is a common way to localize
-contents according to user preferences.  You can
-<a href="http://www.w3.org/International/questions/qa-accept-lang-locales"; 
rel="nofollow">learn more about it from the W3C</a>.</p>
-
-<p>We also do not track IP addresses of our visitors, and the site
-itself is mostly made of static pages, and does not use
-Javascript.  Rest assured that the GNU project and the FSF are very
-careful about
-<a 
href="https://www.fsf.org/about/free-software-foundation-privacy-policy";>users' 
privacy</a>.
+by some sites or third parties to identify your specific browser and
+target you for advertising.
+<a href="https://torproject.org/"; rel="nofollow">Tor Browser</a>
+provides the safest way we know to avoid such targeting.
+Nevertheless, the GNU project only uses technical cookies, and only
+to make browsing easier for you. We have no interest
+in collecting data about your browsing sessions.</p>
+
+<p>We also do not track the IP addresses of our visitors and the site
+itself is mostly made of static pages which can be used with JavaScript
+limited or disabled. Rest assured that the GNU project and the FSF are
+very careful about <a
+href="https://www.fsf.org/about/free-software-foundation-privacy-policy";>
+users' privacy</a>.
 If you have any doubt, feel free to <a href="/contact/">contact us</a>.</p>
 
 </div><!-- for id="content", starts in the include above -->
@@ -368,7 +400,7 @@
 
 <p class="unprintable">Updated:
 <!-- timestamp start -->
-$Date: 2020/01/01 05:32:44 $
+$Date: 2020/01/28 10:13:31 $
 <!-- timestamp end -->
 </p>
 </div>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]