delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/05/03:19:30

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Tue, 5 Mar 2013 09:18:31 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Change the locale in cygwin terminal for diskpart results
Message-ID: <20130305081831.GM2481@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1362415774669-96611 DOT post AT n5 DOT nabble DOT com> <5134DE72 DOT 7000606 AT gmail DOT com> <51350B67 DOT 7070207 AT towo DOT net> <513571B6 DOT 4040109 AT gmail DOT com> <1362463543052-96638 DOT post AT n5 DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <1362463543052-96638.post@n5.nabble.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar  4 22:05, dbpradeep wrote:
> I am able to change the locale for cygwin but I want to use diskpart in
> cygwin and when i use "list disk" I want the results to be displayed in that
> locale
> 
> 
> $ export LANG=fr_FR.UTF-8 //change the lcoale to french
> 
> $ diskpart //to use diskpart
> 
> $list disk // to list the disks details
> 
> 
>  Disk ###  Status         Size     Free     Dyn  Gpt
>  --------  -------------  -------  -------  ---  ---
>  Disk 0    Online           20 GB      0 B
> 
> 
> But the result is displayed in english still :(
> 
> Am I missing something?? Can you suggest a way to deal with such issue

The POSIX locale set in Cygwin has no effect on native Windows tools.

If you want native Windows tools like diskpart print their message in
your locale, you have to change the display language in the "Region and
Language" control panel.  But that's not a Cygwin issue and outside the
scope of this mailing list.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

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

- Raw text -


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