X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,TW_DB X-Spam-Check-By: sourceware.org X-Received: by 10.220.248.11 with SMTP id me11mr7293646vcb.26.1362419319234; Mon, 04 Mar 2013 09:48:39 -0800 (PST) Message-ID: <5134DE72.7000606@gmail.com> Date: Mon, 04 Mar 2013 18:48:34 +0100 From: marco atzeri User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130215 Thunderbird/17.0.3 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Change the locale in cygwin terminal for diskpart results References: <1362415774669-96611 DOT post AT n5 DOT nabble DOT com> In-Reply-To: <1362415774669-96611.post@n5.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam On 3/4/2013 5:49 PM, dbpradeep wrote: > Hi, > > How can I change the locale in cygwin terminal for a session from english to > say french and then run diskpart commands say list disk, to get the results > in french > > diskpart does not belong to cygwin, so it behave differently than cygwin programs For cygwin programs define LANG to your preferred setting: $ export LANG=fr_FR.UTF-8 $ diskpart /? Microsoft DiskPart version 6.1.7601 Copyright (C) 1999-2008 Microsoft Corporation. On computer: MARCOATZERI Microsoft DiskPart syntax: diskpart [/s