Localizing POSIX errno messages.
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcfvV1msjKHQf2xOSD24Ss1h4V0gbg== Thread-topic: Localizing POSIX errno messages. Greetings, I have a standard POSIX errno (set by fopen, or malloc, etc.), and I am trying to turn it into a string localized for the current user. strerror() always seems to return the English string, no matter what I have done with setlocale(). I grepped around in the System folder and found that /System/Library/CoreServices/CoreTypes.bundle seems to have translations for all the POSIX error messages, but I can't find an API to get at them. Is there a System-level way to get at the localized version of these strings, or is it simply up to every application to define their own translations? Thanks! James _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
James Farwell