[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 “Set Language” link on the top of
-each page to allow you to override that setting and “fix”
-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
+“session cookie.”</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>
- www/server select-language.html,
Therese Godefroy <=