From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [81.169.146.217]) by sourceware.org (Postfix) with ESMTPS id AF88B3858D1E for ; Sun, 10 Sep 2023 08:55:46 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AF88B3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=clisp.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=clisp.org ARC-Seal: i=1; a=rsa-sha256; t=1694336145; cv=none; d=strato.com; s=strato-dkim-0002; b=U5oYQRgaJYDPyxZCBmZgGZVBZUpWBrwXtUa47w4ILMp0TFQgX9IYtZ6ZrQGvvE/Q9X O1grGVXSYwBU5PlvneY/Jue2zR8VwCywPRgndxPqxWvN9kJ+ELa1wrkmDNFYfpU8yNJJ aCLuFkG/ElAf7WopVjiFLlgR4rLgshvfDNXz2uHakJjwKDtylwjvTyCfXhkkgfaksYRg P6cGUTbh1Uu2X93hHcR049s6W+XHH1ZcqEcgOs1qdhkOZxPdv3iobwxHZfsLEb/bPudb h4b1v9uZv/eyBKwdLIJHTyaHX05/aC3sAN7CaMqwAOq+HBbCXy2vuZlCJzmdWXGb1ID8 FRjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; t=1694336145; s=strato-dkim-0002; d=strato.com; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=WaooH+7yOFs98WlwPMus5eCuXVHPYu+zc7KgcS5ur30=; b=ajK5Y5hRmP2eCIPsuj9QT67ewailz4j183lmlSua9Q0teo9KotmCRc7E9bCG3bd4vK EWC0WojGWtIKnvp/+wT7y7V6n8f+0Ud17RLmueUzJjR2aOiVnK0bDtrG6BrHvIQ66ohl Bj1eeqEMnWsTORgC84Y3VLClTrGNSOgJ/3MHwgBcd1CZIH5aiIhOfZHwZ2vHcQwm0D6E BkvYH2QV2wUxRHBiMps1pwzGCcOAnrRvV8PrB0Wqy5ezQnrU70xSxKzAeTU8t979yq5a flE5xCBV+YygLKdsClHPkfR3ZmObpm19R1Y7T115FNZ+sHDQ68yNQ3jxDVsPoL0hinPh k2/A== ARC-Authentication-Results: i=1; strato.com; arc=none; dkim=none X-RZG-CLASS-ID: mo00 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1694336145; s=strato-dkim-0002; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=WaooH+7yOFs98WlwPMus5eCuXVHPYu+zc7KgcS5ur30=; b=BDCPkwYG1oqcFELQkG/Fl9tsd5CnLnZ0a1d2w273suE7MtZsHSKB1nPQ2dKsdnpEYi PykP31jFZmf7/d95n9zcooMgksmpAYt0NkvL2BcHrdk3ymayy4PI1BiWo2YxQ/F1+ZVc 2wx+Jwa7SAbaEwMCh87uHq9oapbEALBFOz93gFAOy6J2hfpHeeNpZpYXPOXtccG+sg7Q 1pw4vFtWCRajCFxex/ntUIcwt5VztnayLqIcVmLfyUiKfmb5EVPQhCPl0hYYwCkJ6G1U +/EDp4xShSEOcL0gC7dXgXJ3zd8HxevIBaWxDyiXUaIHP6pCUU2ETcmbqtXi2bvY+fsa Fk+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; t=1694336145; s=strato-dkim-0003; d=clisp.org; h=Message-ID:Date:Subject:To:From:Cc:Date:From:Subject:Sender; bh=WaooH+7yOFs98WlwPMus5eCuXVHPYu+zc7KgcS5ur30=; b=REjSuLBMAZTcvbNPw/QfKy2Y7rEFeTXZTR3X/g0zYxWvDA/Hsl2H5JP/Y9ldXJgGx6 HhIv7flcaMAaV5sNUHAw== X-RZG-AUTH: ":Ln4Re0+Ic/6oZXR1YgKryK8brlshOcZlIWs+iCP5vnk6shH0WWb0LN8XZoH94zq68+3cfpPE1fFDydxvePvb+kdfVk9V4cJT" Received: from nimes.localnet by smtp.strato.de (RZmta 49.8.2 AUTH) with ESMTPSA id z9213ez8A8tivvO (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Sun, 10 Sep 2023 10:55:44 +0200 (CEST) From: Bruno Haible To: libc-alpha@sourceware.org Subject: the purpose of locale.alias Date: Sun, 10 Sep 2023 10:55:44 +0200 Message-ID: <77018150.VQpxGFKSoK@nimes> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, What is the purpose of glibc's locale.alias, typically installed as /usr/share/locale/locale.alias ? (I'm not talking about the X11 locale.alias here.) I would like to suggest to improve the comments in it, to clarify its purpose. * The comments so far say: " # Note: This file is obsolete and is kept around for the time being for # backward compatibility. Nobody should rely on the names defined here. # Locales should always be specified by their full name. " And indeed, while nowadays most GNU/Linux users use locales with UTF-8 encoding, all of the aliases in the current locale.alias file are for locales with traditional encodings; they are thus not useful today any more. * But a valid future use of locale.alias is when a language code changes (like in the past: no -> nb, or iw -> he), or when a country code changes (like in the past with Yugoslavia or Soviet Union). Such changes can happen in the future, and for people who use a rolling-release distribution and use locale names in their .profile script, it is useful to be able to add a line ll_oldCC.UTF-8 ll_newCC.UTF-8 to the locale.alias file. * Then there are also people who "want to unify language codes on all environments" [1]. This sounds like of minor importance to me. Do you think this is a reasonable use-case of locale.alias or not? Other purposes, that I have missed? Bruno [1] https://askubuntu.com/questions/883622/