delorie.com/archives/browse.cgi | search |
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 82CFE3857804 |
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=fPVaYbWe c=1 sm=1 tr=0 ts=60d0b4c0 |
a=T+ovY1NZ+FAi/xYICV7Bgg==:117 a=T+ovY1NZ+FAi/xYICV7Bgg==:17 | |
a=IkcTkHD0fZMA:10 a=ejknC5xS72zp2OFXFO8A:9 a=QEXdDO2ut3YA:10 | |
To: | cygwin AT cygwin DOT com |
References: | <PA4PR01MB7599EA3D08DA59B28B72C700A90A9 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 |
Subject: | Re: Custom locales seem not to work |
Message-ID: | <a4b62a2e-da7b-2203-74f4-1168a3bd9df8@SystematicSw.ab.ca> |
Date: | Mon, 21 Jun 2021 09:48:15 -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: | <PA4PR01MB7599EA3D08DA59B28B72C700A90A9@PA4PR01MB7599.eurprd01.prod.exchangelabs.com> |
X-CMAE-Envelope: | MS4xfOoVIc+nF/TOGZM3ayl4WHCUjbcKgZH7149L/9tPS07kFnxhLNE5hs2cM32pMY2hknczDMnD4utyp6zbkAy7fdEzayO0qnI9NvT5T7xQyqhvCPrmv3WW |
od9WjsugWcFiNT9Pb4pH+oZrXf6R9EOVQM9MidId5QgSqFZ5oFbjoMTUxQEApquI/iDP93lYx1rx1P+r4aAxXJuGWtAHufr6aQc= | |
X-Spam-Status: | No, score=-3486.4 required=5.0 tests=BAYES_00, BODY_8BITS, |
KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A, | |
RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_LOW, 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 15LFmadM010278 |
On 2021-06-21 07:23, Алекса -скрыто- via Cygwin wrote: > I noticed that Cygwin-linked applications fail to use the proper > language code from a Windows custom locale, and revert to C instead. > Is that a bug? Cygwin automatically tries to pick your locale using Windows system language, country, and regional settings, if you have set them. Many Cygwin packages are not localized, do not come with localizations, may not support certain locales, or may have incomplete translations. For example, on my system, the following are the only Cygwin programs installed with Russian localizations (no others are): $ ls -xw72 /usr/share/locale/ru*/* /usr/share/locale/ru/LC_MESSAGES: alacarte.mo alternatives.mo appstream.mo appstream-glib.mo aspell.mo atk10.mo at-spi2-core.mo bash.mo bfd.mo binutils.mo bison.mo bison-runtime.mo clisp.mo clisplow.mo coreutils.mo cpio.mo cpplib.mo cygwin32-cpplib.mo cygwin32-gcc.mo dialog.mo diffutils.mo dos2unix.mo epiphany.mo exif.mo findutils.mo flex.mo gas.mo gcal.mo gcc.mo gcr.mo gdk-pixbuf.mo gettext-runtime.mo gettext-tools.mo git.mo glib20.mo glib-networking.mo gnome-doc-utils.mo gnome-keyring.mo gnome-menus-3.0.mo gnupg.mo gnupg2.mo gprof.mo grep.mo gsettings-desktop-schemas.mo gstreamer-1.0.mo gtk20.mo gtk20-properties.mo gtk30.mo gtk30-properties.mo gvfs.mo help2man.mo i686-pc-cygwin-bfd.mo i686-pc-cygwin-binutils.mo i686-pc-cygwin-gas.mo i686-pc-cygwin-gprof.mo i686-pc-cygwin-ld.mo iso_15924.mo iso_3166.mo iso_3166-1.mo iso_3166-3.mo iso_4217.mo iso_639.mo iso_639_3.mo iso_639-2.mo iso_639-3.mo isoquery.mo json-glib-1.0.mo ld.mo lftp.mo libexif-12.mo libfm.mo libgpg-error.mo libgsf.mo libiconv.mo libidn2.mo libisocodes.mo libsecret.mo libsoup.mo libwnck.mo libwnck-3.0.mo lxappearance.mo lxappearance-obconf.mo lxinput.mo lxpanel.mo lxsession.mo lxtask.mo lxterminal.mo lynx.mo mailutils.mo make.mo man-db.mo man-db-gnulib.mo midori.mo openbox.mo osinfo-db-tools.mo pcmanfm.mo popt.mo psmisc.mo rpm.mo sed.mo sharutils.mo tar.mo tcsh.cat texinfo.mo util-linux.mo vte-0.0.mo WebKitGTK-2.0.mo WebKitGTK-3.0.mo wget.mo wget2.mo wget-gnulib.mo whois.mo xarchiver.mo xdg-user-dirs.mo xdg-user-dirs-gtk.mo xkeyboard-config.mo /usr/share/locale/ru/LC_TIME: coreutils.mo /usr/share/locale/ru_UA/LC_MESSAGES: tcsh.cat Which applications do you have problems with, what locale do you wish to use, and what are your locale settings; try running the command below and post your input and output (don't worry if some of your output is in Русский or Кириллица): $ for o in -s -u -i -n -f ''; do locale $o; done en_US en_GB en_CA en_CA en_CA LANG=en_CA.UTF-8 LC_CTYPE="en_CA.UTF-8" LC_NUMERIC="en_CA.UTF-8" LC_TIME="en_CA.UTF-8" LC_COLLATE="en_CA.UTF-8" LC_MONETARY="en_CA.UTF-8" LC_MESSAGES="en_CA.UTF-8" LC_ALL= so you can see I run Windows system default US English, user default GB/UK English, input, non-Unicode, and regional formats Canadian English (and customized some of those settings). -- 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
webmaster | delorie software privacy |
Copyright 2019 by DJ Delorie | Updated Jul 2019 |