Re: Core Audio HAL Localization
Re: Core Audio HAL Localization
- Subject: Re: Core Audio HAL Localization
- From: Jeff Moore <email@hidden>
- Date: Wed, 23 Apr 2003 14:14:26 -0700
You are correct. I thought the PhantomAudio driver that had
localization support in it. I guess that version never made it into the
IOAudio SDK. My bad.
At any rate, the process is described somewhat in the "Writing Audio
Drivers" document. The short explanation is that the IOAudioDevice
object can provide a property, IOAudioDeviceLocalizedBundleKey, that
provides a path to a bundle that the HAL can load and use to find
localized versions of the various string properties in the IORegistry
for audio devices.
On Wednesday, April 23, 2003, at 01:47 PM, Sean McBride wrote:
Jeff Moore (email@hidden) wrote on Wed, 23 Apr 2003 11:12:20 -0700:
Sorry localization for drivers doesn't work that way since the driver
has no idea what language a given process is running in. You can even
have several processes running in different languages. So, you have to
follow the rules of the IOAudio family and the HAL if you want to
localize things properly.
Again, I advise you to look at the sample code to see how it works.
Which sample code is that? PhantomAudioDriver does not seem to do any
localisation. Whichever sample it is, someone at Apple should look at
it
too, because no localisation is done for the built-in input and output
devices. I've attached a screenshot for your reference. You'll see
that
everything in the sound pref pane is Japanese except for string
"Built-in
Audio controller" (and our string "Matrox RTMac Sound Output"). I've
filed this as r3235880.
We would like to localise this string, but Apple themselves has not
done
it, so I really would appreciate a link to example that does it
properly.
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Mac Software Designer +1-514-822-6000
Matrox Electronic Systems Ltd. Montrial, Quibec, Canada
<CoreAudio Localisation.pdf>
--
Jeff Moore
Core Audio
Apple
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.