Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
language and region in VoiceDescription struct
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

language and region in VoiceDescription struct



Hello,

I've recently started to port my application called pVoice
(http://www.pvoice.org) from Windows to OS X. This application heavily
relies on Speech Synthesis, and in one of the preferences panels the
user can select the voice he or she wants to use for speech output.

Since a user can potentially have a long list of installed voices, I
split the voices up per language. The thing I'm running into now, is
that the VoiceDescription struct that is returned by
GetVoiceDescription, defines 'language' and 'region' as shorts. For the
pre-installed voices that are shipped with OS X, these all return 0 for
language as well as region.
I now installed the OS X version of Acapela Multimedia HQ TTS (all of
their languages and voices), and now I get more codes, but it all
results in an unusual list of codes. This is what I have now:

     Language                   Region
    0  English                 0  both UK and US
    1  French                  1  France
    2  German                  3  Germany
    3  Italian                 4  Italy
    4  Dutch                   5  Netherlands
    5  Swedish                 6  Belgium
    6  Spanish                 7  Sweden
    9  Norwegian               8  Spain
    34 Belgian Dutch (Flemish) 12 Norway

Does anyone have a complete list of languages and regions and their codes?

Any help would be greatly appreciated.

Kind regards,

Jouke Visser

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Speech-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.