www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/01/12/17:25:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_FREE_WEBM_LAPOSTE,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
X-SFR-UUID: 20110112222513735 DOT B37667000089 AT msfrf2302 DOT sfr DOT fr
Message-ID: <4D2E2A49.7060707@laposte.net>
Date: Wed, 12 Jan 2011 23:25:13 +0100
From: Cyrille Lefevre <cyrille DOT lefevre-lists AT laposte DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.7: Localization does not follow the language of the OS
References: <44682 DOT 83 DOT 86 DOT 0 DOT 251 DOT 1294773608 DOT squirrel AT lavabit DOT com>
In-Reply-To: <44682.83.86.0.251.1294773608.squirrel@lavabit.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Le 11/01/2011 20:20, cornwarecjp AT lavabit DOT com a =E9crit :
> Can you please tell me and others how to make an internationalized
> application in Cygwin that behaves as described in the first paragraph?
> I couldn't find an answer to this in the FAQ, the User's Guide, the
> mailing lists or Google.

Hi,

cygwin sets LANG through the system-wide /etc/profile.d/lang.sh script.

however, you may overide this in 2 way :
* system-wide by creating a script in /etc/profile.d, such as 0lang.sh
or zlang.sh containing export LANG=3D"nl_NL.UTF-8"
* at user level by adding export LANG=3D"nl_NL.UTF-8" in your
$HOME/.bash_profile

don't modify the system-wide lang.sh provided by cygwin since it may
envolve in the future.

Regards,

Cyrille Lefevre
--=20
mailto:Cyrille DOT Lefevre-lists AT laposte DOT net









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