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 96766158091 for ; Sun, 12 Jun 2022 19:09:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8CB7E08ED; Sun, 12 Jun 2022 19:09:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D0BF8E08ED for ; Sun, 12 Jun 2022 19:09:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 935F1341B91 for ; Sun, 12 Jun 2022 19:09:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D60BA4FA for ; Sun, 12 Jun 2022 19:09:55 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1653198825.f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63.ulm@gentoo> Subject: [gentoo-commits] data/glep:master commit in: / X-VCS-Repository: data/glep X-VCS-Files: glep-0068.rst X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63 X-VCS-Branch: master Date: Sun, 12 Jun 2022 19:09:55 +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: 0b3dd37d-f9f2-4c88-93c1-3a39387cbbf7 X-Archives-Hash: 47fa27de52e9e40a6ec88caeca75d995 commit: f6ba29bfdb9572e186bb2cdf5c8380ac9a62ae63 Author: Ulrich Müller gentoo org> AuthorDate: Sun May 22 05:53:45 2022 +0000 Commit: Ulrich Müller 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/.