From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F21BB158011 for ; Thu, 14 Jul 2022 10:16:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 45BD0E0CB9; Thu, 14 Jul 2022 10:16:14 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2C3F5E0CB9 for ; Thu, 14 Jul 2022 10:16:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 665A033BF01 for ; Thu, 14 Jul 2022 10:16:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1223E7F for ; Thu, 14 Jul 2022 10:16:12 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1653198825.f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63.mgorny@gentoo> Subject: [gentoo-commits] data/glep:glep-0078-update commit in: / X-VCS-Repository: data/glep X-VCS-Files: glep-0068.rst X-VCS-Directories: / X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63 X-VCS-Branch: glep-0078-update Date: Thu, 14 Jul 2022 10:16:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1ca0b3a6-5c05-43e3-b6b5-5004ddf7790e X-Archives-Hash: 65ba4ca8587cf86b40e94d40a5b62d62 commit: f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63 Author: Ulrich Müller gentoo org> AuthorDate: Sun May 22 05:53:45 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 22 05:53:45 2022 +0000 URL: https://gitweb.gentoo.org/data/glep.git/commit/?id=f6ba29bf glep-0068: Update language identifiers from ISO 639-1 to BCP 47 This will allow codes like pt-BR or zh-Hant which is already used in at least one longdescription in the Gentoo repository. Note that the L10N USE_EXPAND and GLEP 42 news items also use BCP 47 for language names. Bug: https://bugs.gentoo.org/578294 Signed-off-by: Ulrich Müller gentoo.org> glep-0068.rst | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/glep-0068.rst b/glep-0068.rst index 83e54d9..78ac7ea 100644 --- a/glep-0068.rst +++ b/glep-0068.rst @@ -4,10 +4,10 @@ Title: Package and category metadata Author: Michał Górny Type: Standards Track Status: Final -Version: 1.1 +Version: 1.2 Created: 2016-03-14 -Last-Modified: 2021-09-11 -Post-History: 2016-03-16, 2018-02-20 +Last-Modified: 2022-05-22 +Post-History: 2016-03-16, 2018-02-20, 2022-05-22 Content-Type: text/x-rst Requires: 67 Replaces: 34, 46, 56 @@ -106,8 +106,8 @@ The following common attributes are allowed on multiple elements: Language specifiers are used whenever an element supports variants in different languages. In this case, each occurrence of the element may -contain an optional ``lang=""`` attribute that contains a ISO 639-1 language -code. In case no ``lang=""`` attribute is provided, an implicit default +contain an optional ``lang=""`` attribute that contains an IETF language tag +[#BCP-47]_. In case no ``lang=""`` attribute is provided, an implicit default of ``en`` is assumed. Restriction specifiers are used whenever an element supports restricting to @@ -321,6 +321,9 @@ language identifier in any of the considered standards. Furthermore, since and no tools relied on the implicit default defined in the DTD, it was decided to change the implicit default to ``en``. +Language identifiers were later updated to allow full IETF language tags, +so that codes like ``pt-BR`` or ``zh-Hant`` can be represented. + Package restrictions -------------------- @@ -513,6 +516,9 @@ References .. [#METADATA-DTD] The original metadata.dtd file https://gitweb.gentoo.org/data/dtd.git/tree/metadata.dtd?id=a908a93b5afe295359e0a01814c9bef8b5268bcd +.. [#BCP-47] BCP 47: "Tags for identifying languages", + https://tools.ietf.org/rfc/bcp/bcp47.txt + .. [#ORIGINAL-METADATA-XML] The original metadata.xml proposal: Paul de Vrieze. "IMPORTANT: The proposal for the metadata.xml file". gentoo-dev mailing list, 2003-06-27, @@ -529,6 +535,6 @@ References Copyright ========= -This work is licensed under the Creative Commons Attribution-ShareAlike 3.0 -Unported License. To view a copy of this license, visit -https://creativecommons.org/licenses/by-sa/3.0/. +This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 +International License. To view a copy of this license, visit +https://creativecommons.org/licenses/by-sa/4.0/.