delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/06/22/14:33:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6EE0E385043C
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=SystematicSw.ab.ca
Authentication-Results: sourceware.org;
spf=none smtp.mailfrom=systematicsw.ab.ca
X-Authority-Analysis: v=2.4 cv=B4F8bMhM c=1 sm=1 tr=0 ts=60d22cd0
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17
a=IkcTkHD0fZMA:10 a=yMhMjlubAAAA:8 a=uYT-Tk0qkVT609LjNaIA:9
a=LWZzyn0kJNm0wGq5:21 a=QEXdDO2ut3YA:10
Subject: Re: Custom locales seem not to work
To: cygwin AT cygwin DOT com
References: <PA4PR01MB7599EA3D08DA59B28B72C700A90A9 AT PA4PR01MB7599 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
<PA4PR01MB759903EB8D2BF62B59718920A9099 AT PA4PR01MB7599 DOT eurprd01 DOT prod DOT exchangelabs DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Organization: Systematic Software
Message-ID: <1369ffc2-3526-27e5-350f-e1d99a2c464f@SystematicSw.ab.ca>
Date: Tue, 22 Jun 2021 12:32:47 -0600
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <PA4PR01MB759903EB8D2BF62B59718920A9099@PA4PR01MB7599.eurprd01.prod.exchangelabs.com>
X-CMAE-Envelope: MS4xfE3HReSOQDtSS0iVVmv4xojFrTblb/iDwDRZs32pffV8jDtfTrPSmS68WfY+YXnT7ZcmfI6g6+EvNz+tdf+tOdqwpDRpQANaxxCB9m+se1Ho086f10A2
AldDtOgxH447rtQFnNpgcEygd3rKMp5vu+wo3LUgT1L5M6g2HBifpK33xcnaysAidkQHrpWocUUXbEhJuzHw518DillX9uyDiLE=
X-Spam-Status: No, score=-1159.7 required=5.0 tests=BAYES_00, BODY_8BITS,
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A,
RCVD_IN_BARRACUDACENTRAL, SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 15MIXU9l022545

On 2021-06-22 02:50, Алекса -скрыто- via Cygwin wrote:
> The locale provides the necessary codes, so I don't see the issue.
> 
> ​    <special xmlns:msLocale="http://schemas.microsoft.com/globalization/2004/08/carib/ldml">
>        <msLocale:cultureInfoVersion type="3.0" />
>        <msLocale:cultureAndRegionInfoName type="ie-XX" />
>        <msLocale:geoId>223</msLocale:geoId>
>        <msLocale:countryCode>41</msLocale:countryCode>
>        <msLocale:parentName type="fr-CH" />
>        <msLocale:languageNameAbbr type="INE" />
>        <msLocale:languageIsoName type="threeLetters">ile</msLocale:languageIsoName>
>        <msLocale:languageIsoName type="twoLetters">ie</msLocale:languageIsoName>
>        <msLocale:nativeName type="Interlingue" />
>        <msLocale:regionEnglishName type="Worldwide" />
>        <msLocale:regionNativeName type="Panmundal" />
>        <msLocale:regionIsoName type="threeLetters">XXX</msLocale:regionIsoName>
>        <msLocale:regionIsoName type="twoLetters">XX</msLocale:regionIsoName>
>        <msLocale:regionWindowsName type="threeLetters">XXX</msLocale:regionWindowsName>
>        <msLocale:englishName type="Interlingue (Occidental)" />
>        <msLocale:sortName type="en-US" />
>        <msLocale:sortGuid type="{00000001-57EE-1E5C-00B4-D0000BB1E11E}" />
>        <msLocale:codePagesName type="fr-CH" />
>        <msLocale:englishLanguage type="Interlingue" />
>        <msLocale:nativeLanguage type="Interlingue" />
>        <msLocale:keyboardsToInstall type="100c:00020409" />
>      </special>
>    </identity>
> 

I have never seen ie used as a language code under Linux systems, and it 
is interlingual, associated with unspecified territory code XX, so you 
would have to set each locale category separately to achieve the desired 
effects: fr_CH or en_US.

What does Cygwin show when you run the locale dump command I posted 
under a shell:

	$ for o in -s -u -i -n -f ''; do locale $o; done

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019