delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/07/24/15:13:17

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 56OJDGU31578283
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 56OJDGU31578283
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=YIXKhk8B
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 12EF8385B535
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1753384395;
bh=3826t8PXad6lvVOggLX9R7kG5qCxIBB8wgsQa4vRJ28=;
h=Date:Subject:To:References:Cc:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=YIXKhk8BXkpmP1Z1RlUz0N0IHfvIkKyS/pwtz+EzGlWzhVWzGy5y7x4xzLGyCeTuX
XqknOkaJOOKdmGr+IkvsLoqkBWDv+gIR/1BbYvTgIta75Ho4ZlTudzyEWPsiLh9zRZ
Ivs9ZF29TU+2fZWUvF2ruHTTxrks7w5l/fAz4vXQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C7BE2385B51A
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C7BE2385B51A
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1753384336; cv=none;
b=F0BbgVSceff8cARY7fg3GEFfcoHglNenKShClI1LgwGSEwK2hM1pLXawJ0NLuCNodqXevUWEHjoW5Zke1K9eg4ylhM8BoxYynjc3w0TuxFQDu5WpwFS3u8zzDs9QZ0jXjiY9ScTm3RlwtA2YUIJWNqSmF12h8dyIFqNKSVqOV/A=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1753384336; c=relaxed/simple;
bh=cbb/aPcqMO2brNlMQLDqK5DvB1YQCFiu8t36mzt7774=;
h=Message-ID:Date:MIME-Version:Subject:To:From;
b=OIp+sQ/zoR7M0KV+Oyy/ipYLnWtKwvHU5zC515jJ2GZ7cPFCExFzTX/gH54iElfy32WwFoT3v92n+KPbCpebcfk6S960HXbrf1xtfhrU0N6ZsEBikBFeak2292++4Ny4X8uiO2PYAgCKJVEfVZVwkH1qLudDd7bk08495Ap1f4I=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C7BE2385B51A
X-SNCR-Rigid: 6864BBE2029EF5C4
X-Originating-IP: [86.144.41.51]
X-OWM-Source-IP: 86.144.41.51
X-OWM-Env-Sender: jon DOT turney AT dronecode DOT org DOT uk
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekudegiecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhvegjtgfgsehtjeertddtvdejnecuhfhrohhmpeflohhnucfvuhhrnhgvhicuoehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkqeenucggtffrrghtthgvrhhnpeevvdekgfffteetueehgfdugefgkeevleejudduheevuedtveejfeevvdevvdfgvdenucfkphepkeeirddugeegrdeguddrhedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdelngdpihhnvghtpeekiedrudeggedrgedurdehuddpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrvghvkffrpehhohhsthekiedqudeggedqgeduqdehuddrrhgrnhhgvgekiedqudeggedrsghttggvnhhtrhgrlhhplhhushdrtghomhdprghuthhhpghushgvrhepjhhonhhtuhhrnhgvhiessghtihhnthgvrhhnvghtrdgtohhmpdhgvghokffrpefiuedpoffvtefjohhsthepsghtphhrughrghhotddtkedpnhgspghrtghpthhtohepvddprhgtphhtthhopegthihgfihinhestgihghifihhnrdgtohhmpdhrtghp
thhtohepthgrkhgrshhhihdrhigrnhhosehnihhfthihrdhnvgdrjhhp
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
X-VadeSecure-score: verdict=clean score=0/300, class=clean
Message-ID: <e5ebc242-4ccb-4932-b7c0-8555d096d413@dronecode.org.uk>
Date: Thu, 24 Jul 2025 20:12:02 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Language used by setup-x86_64.exe
To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
References: <20250723170222 DOT 884d341b6030a21b621d4145 AT nifty DOT ne DOT jp>
<20250723172518 DOT 26cdb41e4edc69a97d4debd0 AT nifty DOT ne DOT jp>
Cc: cygwin AT cygwin DOT com
In-Reply-To: <20250723172518.26cdb41e4edc69a97d4debd0@nifty.ne.jp>
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
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>
From: Jon Turney via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
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>

On 23/07/2025 09:25, Takashi Yano via Cygwin wrote:
> On Wed, 23 Jul 2025 17:02:22 +0900
> Takashi Yano wrote:
>> Recent cygwin setup-x86_64.exe has Japanese translation and
>> it uses Japanese when it is running in Japanese Windows.
>>
>> However, sometimes I would like to setup-x86_64.exe with
>> English. I tried:
>> LANG=en_US.UTF-8
>> LC_ALL=en_US.UTF-8
>> LANGUAGE=en
>> however, all of them did not work.

Hmm... yeah, this is not ideal.

setup is just a Windows application, so I don't think the CRT implements 
checking those env vars for the default, it just looks at what the 
"Windows locale" the user has configured.

I guess it would be a good idea to take these env vars into account 
before calling setlocale() to emulate unix-style bahaviour.

>> Is there any way to force setup.exe to use English?
> 
> setup-x86_64.exe --lang 1033 did not work, but
> setup-x86_64.exe --lang 0x409 or setup-x86_64.exe --lang 409 works!
Glad you managed to find the option!

Assuming that the language code is hex seems just wrong though, so I'll 
consider that a bug. Thanks for pointing that out!

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