This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Will strerror messages be automatically translated...
- From: "frank ernest" <doark at mail dot com>
- To: libc-help at sourceware dot org
- Date: Fri, 22 Aug 2014 05:20:28 +0200
- Subject: Re: Will strerror messages be automatically translated...
- Authentication-results: sourceware.org; auth=none
- References: <trinity-b4dd573c-e639-4555-b867-32a237fb4794-1407377936078 at 3capp-mailcom-lxa15>, <trinity-1eaf2daf-a273-4467-a45d-d8aa72b7fe26-1407515603528 at 3capp-mailcom-lxa08>
- Sensitivity: Normal
> They will be automatically translated. You do not need to call gettext
> on them. However, you *do* need to call `setlocale(LC_ALL, "");' to
> cause the application to load the appropriate locale values from the
> environment variables, otherwise you will just have the C locale.
Thanks!