Question on multi-language presentation
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.