• 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
Language names in UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Language names in UI


  • Subject: Language names in UI
  • From: Darrin Cardani <email@hidden>
  • Date: Tue, 7 Oct 2003 11:20:59 -0500

In my application, the user can enter data in different languages. (Thanks to everyone who had suggestions for how to allow that. It worked!) Now I'm wondering about something related. I have a QuickTime movie, and I want to add a track that is associated with each language. I can do that by calling QuickTime's SetMediaLanguage (). However, the code I have to pass it is one of the script codes from Script.h, like these:

enum {
langEnglish = 0, /* smRoman script*/
langFrench = 1, /* smRoman script*/
... etc.

Is there any way to translate what the user typed as the name of the language (possibly in English, possibly in any other language) into a script code? This will also be an issue when I attempt to save the document data, as I was hoping to be able to use XML and use the proper language code there, too.

Are there other ways to do what I'm trying to do? I thought of presenting a list of languages to the user, and making them pick one, but that seems really cumbersome. (Plus, would it be in English, or in all the different languages? If it's in different languages would users understand the sorting of the language names? etc.)

I took a look at some of the products that other people mentioned (like Trados), and none of the web sites actually show how the products work! Lots of useless marketing speak, but little actual information on how the software works.

Thanks,
Darrin
--
Darrin Cardani - email@hidden
President, Buena Software, Inc.
<http://www.buena.com/>
Video, Image and Audio Processing Development
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Language names in UI
      • From: Dustin Voss <email@hidden>
  • Prev by Date: Re: NSTask
  • Next by Date: Re: [OT] serial number validation algorithm? - Sign/verify data
  • Previous by thread: Re: mutable keys in NSMutableDictionary
  • Next by thread: Re: Language names in UI
  • Index(es):
    • Date
    • Thread