Change the locale in cygwin terminal for diskpart results

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Change the locale in cygwin terminal for diskpart results

dbpradeep
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
Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

marco atzeri-4
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

Thomas Wolff
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

Arthur Tu
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

dbpradeep
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

Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

dbpradeep
I tried "$ chcp.com 65001 " Then "$ diskpart /?" But this too didnt work... Still the results are displayed in english
Reply | Threaded
Open this post in threaded view
|

Re: Change the locale in cygwin terminal for diskpart results

Corinna Vinschen-2
In reply to this post by dbpradeep
CONTENTS DELETED
The author has deleted this message.