From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/7200 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?0KDRi9GB0Yw=?= Newsgroups: gmane.linux.lib.musl.general Subject: Re: libintl: stubs or working functions? Date: Tue, 17 Mar 2015 08:40:04 +0700 Message-ID: <20150317084004.5cbbd4ae@r2lynx> References: <20150305163649.05a14b30@sibserver.ru> <20150306222415.GR23507@brightrain.aerifal.cx> <20150308162249.163d5212@r2lynx> <20150309005636.GY23507@brightrain.aerifal.cx> <20150315193339.3b36e135@r2lynx> <20150315235418.GU23507@brightrain.aerifal.cx> <20150316111846.5ce6a90e@r2lynx> <20150316134156.GZ16260@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1426556504 25382 80.91.229.3 (17 Mar 2015 01:41:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Mar 2015 01:41:44 +0000 (UTC) Cc: Rich Felker To: musl@lists.openwall.com Original-X-From: musl-return-7213-gllmg-musl=m.gmane.org@lists.openwall.com Tue Mar 17 02:41:44 2015 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1YXgVo-0002dM-Jc for gllmg-musl@m.gmane.org; Tue, 17 Mar 2015 02:41:40 +0100 Original-Received: (qmail 11268 invoked by uid 550); 17 Mar 2015 01:41:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 10220 invoked from network); 17 Mar 2015 01:41:37 -0000 X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,NO_RECEIVED, NO_RELAYS autolearn=unavailable autolearn_force=no version=3.4.0 In-Reply-To: <20150316134156.GZ16260@port70.net> X-Mailer: claws_mail Xref: news.gmane.org gmane.linux.lib.musl.general:7200 Archived-At: On Mon, 16 Mar 2015 14:41:56 +0100 Szabolcs Nagy wrote: > * ???????? [2015-03-16 11:18:46 +0700]: > > I have this test program: > > > > % cat > > dt.c #include > > #include > > > > int main(void) > > { > > char x[32]; > > struct tm *tm; > > time_t t; > > > > t = time(NULL); > > tm = localtime(&t); > > strftime(x, sizeof(x), "%x", tm); > > printf("%s\n", x); > > > > return 0; > > } > > > > i think you need to call setlocale(LC_ALL, "") Thanks! Now it worked as needed! Rich: from this point I probably do understand how to translate certain strings in C library, can you provide more info about what should be translated?