• 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
Question on multi-language presentation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question on multi-language presentation


  • Subject: Question on multi-language presentation
  • From: Steve Sharman <email@hidden>
  • Date: Mon, 12 Jan 2004 21:05:15 +0000

All,

Another question that I'm sure has been encountered many times before. I have a number of objects in my application that I use as "cross-references" - e.g. XCountry, which has a list of all valid countries to which a person (in my app) can be associated. This functionality is implemented using a simple many-to-many relationship (i.e. one person can work in many countries), and works well.

I have a question however as to how I might in future internationalise the application - e.g. have EN be the consistent country code, and then England be presented to the user if their operating language is English, Angleterre if French and so on. The only way that I can think of would be in some way to break the link between the code and description, e.g.

Person <--> Country (where the country object stores simply the code value)

XCountry then has attributes (Code, Description, Language)

and so to display the correct description for a country, I retrieve the objects with the appropriate country code and then filter on the language.

Does this work as a method, or is there an easier/more efficient/more elegant way to do it in WebObjects?

Many thanks for any suggestions,

-- Steve
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: EOModeler and more
  • Next by Date: Re: Limiting number of assignments in a many-to-many relationship
  • Previous by thread: Re: Limiting number of assignments in a many-to-many relationship
  • Next by thread: handles requests concurrently: problems
  • Index(es):
    • Date
    • Thread