Skip to content

Commit

Permalink
Merge branch 'gh-pages' into xfq/qa-date-format
Browse files Browse the repository at this point in the history
  • Loading branch information
xfq committed Aug 17, 2022
2 parents 80df8cd + bb43bf7 commit ac0a810
Show file tree
Hide file tree
Showing 591 changed files with 33,218 additions and 18,472 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ Note that this is only a temporary location for articles, etc., while they are b

To view a page as HTML, go to https://w3c.github.io/i18n-drafts/ and add the appropriate path to the file you want to view. You'll need to provide the filename plus language extension as a minimum, eg. https://w3c.github.io/i18n-drafts/articles/vertical-text.en

If you want to translate one or more of these resources, see the [Translation intructions](https://www.w3.org/International/2004/06/translation) page.
If you want to translate one or more of these resources, see the [Translation intructions](https://www.w3.org/International/i18n-drafts/pages/translation) page.

### Contributing

Editors should be familiar with and use the following:

- [GitHub guidelines for working with i18n documents](https://www.w3.org/International/i18n-activity/guidelines/github)
- [Editorial guidelines for working with i18n documents](https://www.w3.org/International/i18n-activity/guidelines/editing)
58 changes: 36 additions & 22 deletions article-list/articlelist-data/translations.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var trans = { }

trans.versions = ['ar', 'bg', 'de', 'el', 'en', 'es', 'fr', 'hi', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sv', 'tr', 'uk', 'zh-hans', 'zh-hant']
trans.versions = ['ar', 'bg', 'de', 'el', 'en', 'es', 'fr', 'gl', 'hi', 'hu', 'it', 'ja', 'ko', 'nl', 'pl', 'pt', 'pt-br', 'ro', 'ru', 'sv', 'tr', 'uk', 'zh-hans', 'zh-hant']

trans.outofdatetranslations = []

Expand All @@ -18,16 +18,10 @@ var titles = {

"getstarted": [
{
"url": "/International/getting-started/index",
"ar": "مقدمة لموقع تدويل الشبكة العالمية",
"de": "Einstieg in die W3C-Internationalisierungs-Website",
"url": "/International/i18n-drafts/getting-started/index",
"en": "Getting Started with the W3C I18n site",
"es": "Introducción al sitio W3C I18n",
"fr": "Premiers pas avec le site W3C I18n",
"pt": "Introdução ao site W3C I18n",
"pt-br": "Introdução ao site I18n da W3C",
"ro": "Notiuni de baza despre site-ul W3C I18n",
"uk": "Приступаючи до роботи з сайтом W3C Інтернаціоналізації"
"zh-hans": "国际化入门资源"
},
{
"url": "/International/getting-started/characters",
Expand All @@ -36,6 +30,7 @@ var titles = {
"en": "Introducing Character Sets and Encodings",
"es": "Introducción a las codificaciones y a los sets de caracteres",
"fr": "Présentation des jeux et encodages de caractères",
"gl": "Introdución ás codificacións e ós conxuntos de caracteres",
"hi": "परिचय कैरेक्टर समूह और कूटबन्धन",
"hu": "Bevezető a Karakterkészletekbe és Karakterkódolásba",
"pt": "Introdução de conjuntos de caracteres e codificações",
Expand All @@ -54,6 +49,7 @@ var titles = {
"en": "Language on the Web",
"es": "Idiomas en la Web",
"fr": "Langage sur le Web",
"gl": "Idiomas na Web",
"hi": "वेब पर भाषा",
"hu": "A Nyelv a Weben",
"ja": "Web 上の言語",
Expand Down Expand Up @@ -91,6 +87,7 @@ var titles = {
"url": "/International/tutorials/tutorial-char-enc/index",
"de": "Umgang mit Zeichencodierungen in HTML und CSS (Tutorial)",
"en": "Handling character encodings in HTML and CSS (tutorial)",
"fr": "Gestion de l’encodage des caractères en HTML et CSS (tutoriel)",
"ro": "Manevrarea codării de caractere în HTML și CSS (tutorial)",
"sv": "Att hantera teckenkodningar i HTML och CSS (handledning)",
},
Expand All @@ -115,6 +112,11 @@ var titles = {
"sv": "Att välja & att använda en teckenkodning",
},
{
"url": "/International/questions/qa-who-uses-unicode",
"en": "Who uses Unicode?",
"sv": "Vem använder Unicode?",
},
{
"url": "/International/questions/qa-html-encoding-declarations",
"de": "Angabe der Zeichencodierung in HTML",
"en": "Declaring character encodings in HTML",
Expand Down Expand Up @@ -157,12 +159,11 @@ var titles = {
"bg": "Конвертиране на HTML страница към Unicode",
"en": "Changing an HTML page to Unicode",
"fr": "Changer l’encodage d’une page HTML en Unicode",
"it": "Cambiare una pagina HTML in Unicode",
},
{
"url": "/International/questions/qa-escapes",
"de": "Verwendung von Zeichen-Escapes in Markup und CSS",
"en": "Using character escapes in markup and CSS",
"sv": "Att använda kodade tecken i uppmärkning och CSS",
},
{
"url": "/International/questions/qa-doc-charset",
Expand Down Expand Up @@ -251,9 +252,8 @@ var titles = {
"uk": "Пропущені символи і гліфи",
},
{
"url": "/International/questions/qa-who-uses-unicode",
"en": "Who uses Unicode?",
"sv": "Vem använder Unicode?",
"url": "/International/questions/qa-indic-graphemes",
"en": "Typographic character units in complex scripts",
},
{
"url": "/International/articles/unicode-migration/index",
Expand Down Expand Up @@ -295,7 +295,9 @@ var titles = {
{
"url": "/International/questions/qa-text-processing-vs-metadata",
"en": "Types of language declaration",
"es": "Tipos de declaración de idioma",
"fr": "Types de déclaration de langues",
"it": "Tipi di dichiarazione linguistica",
},
{
"url": "/International/articles/language-tags/index",
Expand Down Expand Up @@ -341,10 +343,6 @@ var titles = {
"ru": "Установка языковых настроек в браузере",
},
{
"url": "/International/questions/qa-text-processing-vs-metadata",
"en": "Types of language declaration",
},
{
"url": "/International/questions/qa-when-xmllang",
"de": "xml:lang in XML-Dokument-Schemas",
"en": "xml:lang in XML document schemas",
Expand All @@ -357,12 +355,16 @@ var titles = {
"url": "/International/questions/qa-no-language",
"de": "Kennzeichnung von Text mit keiner Sprache",
"en": "Tagging text with no language",
"es": "Etiquetado de texto sin idioma",
"fr": "Marquer du texte sans langue",
"it": "Etichettatura del testo senza lingua",
"sv": "Märka upp text som 'inget språk'",
},
{
"url": "/International/questions/qa-link-lang",
"de": "Kennzeichnung der Sprache von Linkzielen",
"en": "Indicating the language of a link destination",
"es": "Indicar el idioma de destino de un enlace",
"pl": "Wskazywanie języka strony docelowej linku",
},
{
Expand Down Expand Up @@ -414,8 +416,8 @@ var titles = {
"de": "Verwendung des translate-Attributs in HTML",
"en": "Using HTML's translate attribute",
"es": "Utilizar el atributo translate de HTML",
"it": "Utilizzo dell'attributo HTML translate",
"fr": "Utiliser l’attribut translate HTML",
"it": "Utilizzo dell'attributo HTML translate",
},
{
"url": "/International/questions/qa-non-eng-tags",
Expand All @@ -430,6 +432,10 @@ var titles = {
"ru": "Неанглийские тэги",
"tr": "İngilizce olmayan kod etiketleri",
"uk": "Неанглійські теги",
},
{
"url": "/International/questions/qa-reference-links",
"en": "Internationalization tips for linking to headings & figures"
}
],

Expand All @@ -440,6 +446,8 @@ var titles = {
"url": "/International/tutorials/bidi-xhtml/index",
"de": "HTML-Seiten in arabischer, hebräischer und anderen von rechts nach links geschriebenen Schriften erstellen (tutorial)",
"en": "Creating HTML Pages in Arabic, Hebrew and Other Right-to-left Scripts (tutorial)",
"es": "Creación de páginas HTML en árabe, hebreo y otros scripts de derecha a izquierda (tutorial)",
"fr": "Création de pages HTML en arabe, hébreu et autres scripts de droite à gauche (tutoriel)",
},
{
"url": "/International/articles/inline-bidi-markup/uba-basics",
Expand Down Expand Up @@ -480,7 +488,7 @@ var titles = {
"en": "Visual vs. logical ordering of text",
"es": "Ordenando el texto de forma visual vs. lógica",
},
{
/*{
"url": "/International/tutorials/svg-tiny-bidi/Overview",
"de": "SVG Tiny-Seiten in arabischer, hebräischer und mit anderen von rechts nach links geschriebenen Schriften erstellen",
"en": "Creating SVG Tiny Pages in Arabic, Hebrew and other Right-to-left scripts",
Expand All @@ -491,7 +499,7 @@ var titles = {
"pt": "Criação de SVG Tiny Pages em árabe, hebraico, e em outros scripts da direita para a esquerda",
"ru": "Создание небольших SVG Страниц на Арабском языке, Иврите и других скриптах, которые выравниваются справа налево",
"uk": "Створення Невеличких SVG Сторінок в Арабській мові, Івриті та інших скриптах, які вирівнюються справа наліво",
},
},*/
{
"url": "/International/articles/vertical-text/index",
"en": "Styling vertical Chinese, Japanese, Korean and Mongolian text",
Expand Down Expand Up @@ -519,6 +527,7 @@ var titles = {
"de": "Textlänge bei Übersetzungen",
"en": "Text size in translation",
"es": "El tamaño del texto en la traducción",
"fr": "La taille des textes dans les traductions",
"hu": "Szövegméret a fordításban",
"ja": "訳文における文字サイズ",
"ko": "번역물의 텍스트 크기",
Expand Down Expand Up @@ -575,13 +584,15 @@ var titles = {
"url": "/International/questions/qa-personal-names",
"de": "Personennamen aus aller Welt",
"en": "Personal names around the world",
"es": "Los nombres propios en el mundo",
"fr": "Noms de personnes à travers le monde",
"uk": "Особисті імена в різних мовах світу",
},
{
"url": "/International/questions/qa-select-sorting",
"de": "Auswahloptionen sortieren",
"en": "Sorting select options",
"fr": "Tri des options de sélection",
"pl": "Sortowanie rozwijanej listy",
"ru": "Сортировка выпадающего списка",
"uk": "Сортування випадаючого списку",
Expand Down Expand Up @@ -680,6 +691,7 @@ var titles = {
{
"url": "/International/articles/definitions-time/index",
"en": "Time & date: Essential concepts",
"es": "Fecha y hora: Conceptos básicos",
},
{
"url": "/International/questions/qa-date-format",
Expand All @@ -695,6 +707,7 @@ var titles = {
"url": "/International/questions/qa-personal-names",
"de": "Personennamen aus aller Welt",
"en": "Personal names around the world",
"es": "Los nombres propios en el mundo",
"fr": "Noms de personnes à travers le monde",
"uk": "Особисті імена в різних мовах світу",
}
Expand All @@ -718,6 +731,7 @@ var titles = {
"ru": "Локализация по сравнению с интернационализацией",
"sv": "Lokalisering och internationalisering",
"uk": "Локалізація в порівнянні з Інтернаціоналізацією",
"zh-hans": "本地化与国际化有什么关系?",
},
{
"url": "/International/questions/qa-mono-multilingual",
Expand Down Expand Up @@ -772,7 +786,7 @@ function addTitles (section, list) {
if (rtlSet.has(f.clang)) a.dir = 'rtl'
if (titles[section][i][f.clang]) {
a.textContent = titles[section][i][f.clang]
a.href += '.' + f.clang
a.href += '.' + f.clang + '.html'
a.className = 'native'
}
else {
Expand Down
59 changes: 29 additions & 30 deletions article-list/articlelist.ar.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,15 @@
f.additionalLinks = ''
</script>
<script src="articlelist-data/translations.js"> </script>
<script src="javascript/doc-structure/article-dt.js"> </script>
<script src="https://w3c.github.io/i18n-drafts/javascript/doc-structure/article-dt.js"> </script>
<script>dt.thisVersionPlain = thisVersionTitles</script>
<script src="javascript/boilerplate-text/boilerplate-ar.js"></script><!--TRANSLATORS must change -en to the subtag for their language!-->
<script src="javascript/doc-structure/sitepage.js"> </script>
<script src="javascript/articletoc-html5.js"></script>
<link rel="stylesheet" href="style/sitepage-2016.css"/>
<script src="https://w3c.github.io/i18n-drafts/javascript/boilerplate-text/boilerplate-ar.js"></script>
<!--TRANSLATORS must change -en just above to the subtag for their language!-->
<script src="https://w3c.github.io/i18n-drafts/javascript/doc-structure/sitepage-2022.js"> </script>
<script src="https://w3c.github.io/i18n-drafts/javascript/articletoc-2022.js"></script>
<link rel="stylesheet" href="https://w3c.github.io/i18n-drafts/style/sitepage-2022.css">
<link rel="stylesheet" href="articlelist-data/style.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 @@ -51,7 +51,7 @@
<div class="content">
<h1>Articles &amp; tutorials</h1>

<p>You can also find resources using the page <a href="http://www.w3.org/International/techniques/authoring-html" class="external text" title="http://www.w3.org/International/techniques/authoring-html">Internationalization techniques: Authoring HTML &amp; CSS</a>, which provides more fine-grained access to information.</p>
<p>You can also find resources using the page <a href="https://www.w3.org/International/techniques/authoring-html" class="external text" title="https://www.w3.org/International/techniques/authoring-html">Internationalization techniques: Authoring HTML &amp; CSS</a>, which provides more fine-grained access to information.</p>
<p>If a title in the list below is in English, the article is not available in the language of this page.</p>
<p>Apart from the article titles, this page has not been fully translated. If you would like to translate it, <a href="mailto:ishida@w3.org">please contact us</a>.</p>

Expand All @@ -60,9 +60,8 @@ <h1>Articles &amp; tutorials</h1>



<section>
<section>
<h2 id="gettingstarted"><a href="#gettingstarted">Getting started</a></h2>
<section id="gettingstarted">
<h2>Getting started</h2>
<ul id="gettingstartedlist" class="articles"></ul>
<script>
addTitles('getstarted', 'gettingstartedlist')
Expand All @@ -74,8 +73,8 @@ <h2 id="gettingstarted"><a href="#gettingstarted">Getting started</a></h2>



<section>
<h2 id="characters"><a href="#characters">Characters</a></h2>
<section id="characters">
<h2>Characters</h2>
<ul id="characterslist" class="articles"></ul>
<script>
addTitles('characters', 'characterslist')
Expand All @@ -86,8 +85,8 @@ <h2 id="characters"><a href="#characters">Characters</a></h2>



<section>
<h2 id="language"><a href="#language">Language</a></h2>
<section id="language">
<h2>Language</h2>
<ul id="languagelist" class="articles"></ul>
<script>
addTitles('language', 'languagelist')
Expand All @@ -98,8 +97,8 @@ <h2 id="language"><a href="#language">Language</a></h2>



<section>
<h2 id="markup"><a href="#markup">Markup &amp; text</a></h2>
<section id="markup">
<h2>Markup &amp; text</h2>
<ul id="markuplist" class="articles"></ul>
<script>
addTitles('markup', 'markuplist')
Expand All @@ -108,8 +107,8 @@ <h2 id="markup"><a href="#markup">Markup &amp; text</a></h2>



<section>
<h2 id="direction"><a href="#direction">Text direction</a></h2>
<section id="direction">
<h2>Text direction</h2>
<ul id="directionlist" class="articles"></ul>
<script>
addTitles('direction', 'directionlist')
Expand All @@ -120,8 +119,8 @@ <h2 id="direction"><a href="#direction">Text direction</a></h2>



<section>
<h2 id="styling"><a href="#styling">Styling &amp; layout</a></h2>
<section id="styling">
<h2>Styling &amp; layout</h2>
<ul id="stylinglist" class="articles"></ul>
<script>
addTitles('styling', 'stylinglist')
Expand All @@ -132,8 +131,8 @@ <h2 id="styling"><a href="#styling">Styling &amp; layout</a></h2>



<section>
<h2 id="forms"><a href="#forms">Forms</a></h2>
<section id="forms">
<h2>Forms</h2>
<ul id="formslist" class="articles"></ul>
<script>
addTitles('forms', 'formslist')
Expand All @@ -144,8 +143,8 @@ <h2 id="forms"><a href="#forms">Forms</a></h2>



<section>
<h2 id="navigation"><a href="#navigation">Navigation</a></h2>
<section id="navigating">
<h2>Navigation</h2>
<ul id="navigationlist" class="articles"></ul>
<script>
addTitles('navigation', 'navigationlist')
Expand All @@ -156,8 +155,8 @@ <h2 id="navigation"><a href="#navigation">Navigation</a></h2>



<section>
<h2 id="address"><a href="#address">Web addresses</a></h2>
<section id="address">
<h2><a href="#address">Web addresses</a></h2>
<ul id="addresslist" class="articles"></ul>
<script>
addTitles('address', 'addresslist')
Expand All @@ -168,8 +167,8 @@ <h2 id="address"><a href="#address">Web addresses</a></h2>



<section>
<h2 id="cultural"><a href="#cultural">Cultural issues</a></h2>
<section id="cultural">
<h2>Cultural issues</h2>
<ul id="culturallist" class="articles"></ul>
<script>
addTitles('cultural', 'culturallist')
Expand All @@ -180,8 +179,8 @@ <h2 id="cultural"><a href="#cultural">Cultural issues</a></h2>



<section>
<h2 id="other"><a href="#other">Other</a></h2>
<section id="other">
<h2>Other</h2>
<ul id="otherlist" class="articles"></ul>
<script>
addTitles('other', 'otherlist')
Expand Down

0 comments on commit ac0a810

Please sign in to comment.