• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Audio HAL Localization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Audio HAL Localization


  • Subject: Re: Core Audio HAL Localization
  • From: Dirk Musfeldt <email@hidden>
  • Date: Thu, 24 Apr 2003 17:25:39 +0200

This is what Jeff pointed out but to a more detailed level:

Set the property 'IOAudioDeviceLocalizedBundle' to be name of your kext, e.g
'MyDriver.kext'. This is the path relative to /SystemLibrary/Extensions/.
This property belongs to your IOKitPersonality.

Include 'Localizable.strings' in your bundle, e.g.
Resources/English.lproj/Localizable.strings. This file includes descriptions
like this:

ThisIsMyPlaceholder = "This the real text";

Now use the IDs in your source code, e.g.

setDeviceName( "ThisIsMyPlaceholder");

Your strings will show up localized.



With kind regards

Dirk Musfeldt
Meilenstein Mac OS Software

Neue Strasse 5
D-31582 Nienburg
Germany
Tel: +49 (0) 5021 91 24 44
Fax: +49 (0) 5021 91 24 45
<http://www.meilenstein.de/>


> Von: "Sean McBride" <email@hidden>
> Organisation: Matrox Electronic Systems Ltd.
> Datum: Wed, 23 Apr 2003 16:47:20 -0400
> An: <email@hidden>
> Cc: "Jeff Moore" <email@hidden>, "Stephane Parent"
> <email@hidden>
> Betreff: Re: Core Audio HAL Localization
>
> 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
>
> [demime 0.98b removed an attachment of type application/pdf which had a name
> of CoreAudio Localisation.pdf"; x-mac-type="50444620";
> x-mac-creator="3F3F3F3F]
> _______________________________________________
> 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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Core Audio HAL Localization
      • From: sparent <email@hidden>
References: 
 >Re: Core Audio HAL Localization (From: "Sean McBride" <email@hidden>)

  • Prev by Date: Re: Sampling Rate Support
  • Next by Date: Re: Getting an AudioDeviceID from device unique identifier (UID)
  • Previous by thread: Re: Core Audio HAL Localization
  • Next by thread: Re: Core Audio HAL Localization
  • Index(es):
    • Date
    • Thread