public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: Custom locales seem not to work
Date: Tue, 22 Jun 2021 12:32:47 -0600	[thread overview]
Message-ID: <1369ffc2-3526-27e5-350f-e1d99a2c464f@SystematicSw.ab.ca> (raw)
In-Reply-To: <PA4PR01MB759903EB8D2BF62B59718920A9099@PA4PR01MB7599.eurprd01.prod.exchangelabs.com>

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.]

  reply	other threads:[~2021-06-22 18:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-21 13:23 Алекса -скрыто-
2021-06-21 15:48 ` Brian Inglis
2021-06-21 18:21 ` Thomas Wolff
2021-06-21 20:06   ` Brian Inglis
2021-06-22  8:50 ` Алекса -скрыто-
2021-06-22 18:32   ` Brian Inglis [this message]
2021-06-26 14:58   ` Алекса -скрыто-
2021-06-26 19:29     ` Brian Inglis
2021-06-26 20:10       ` Brian Inglis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1369ffc2-3526-27e5-350f-e1d99a2c464f@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).