- From: Jukka K. Korpela <jukkakk@gmail.com>
- Date: Fri, 14 Jan 2022 09:54:28 +0200
- To: Ярослав Кириченко <ddos.fire@gmail.com>
- Cc: W3C WWW Validator <www-validator@w3.org>
Received on Friday, 14 January 2022 07:55:52 UTC
Ярослав Кириченко (ddos.fire@gmail.com) wrote: Ваш сервис сообщает что lang="ua" это ошибочное значение и рекомендует > указать lang="uk" > (https://validator.w3.org/nu/?doc=https%3A%2F%2Fopticgrad.com%2F) > The validator indeed says “Warning: This document appears to be written in Ukrainian but the html start tag has lang="ua". Consider using lang="uk" (or variant) instead.” and also “Error: Bad value ua for attribute lang on element html: The language subtag ua is not a valid ISO language part of a language tag.” > Но если обратиться к реестру > ( > https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry > ) > то страна Украина, и язык Украинский обозначается именно значением > "ua" > No, “ua” is the code for the country, but not for the language. > Type: region > Subtag: UA > Description: Ukraine > Added: 2005-10-16 > That’s the country code (only). The language code is specified earlier in the the document, as follows: Type: language Subtag: uk Description: Ukrainian Added: 2005-10-16 Suppress-Script: Cyrl This is based on the ISO 639-1 two-letter code:https://www.loc.gov/standards/iso639-2/php/English_list.php Jukka K. Korpela
Received on Friday, 14 January 2022 07:55:52 UTC