home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!math.fu-berlin.de!news.uni-stuttgart.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!oinone.kit.uni-kl.de!sold
- From: sold@kit.uni-kl.de (Christoph Sold)
- Subject: Re: Australian Mac systems
- Message-ID: <sold.54.713825579@kit.uni-kl.de>
- Lines: 55
- Sender: news@rhrk.uni-kl.de
- Organization: Universitaet Kaiserslautern
- References: <1992Aug12.093523.3242@otago.ac.nz> <1992Aug12.165059.10056@waikato.ac.nz>
- Date: Fri, 14 Aug 1992 20:52:59 GMT
- Lines: 55
-
- In article <1992Aug12.165059.10056@waikato.ac.nz> ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University) writes:
- >Subject: Re: Australian Mac systems
- >From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- >Date: 12 Aug 92 16:50:59 +1200
- >In article <1992Aug12.093523.3242@otago.ac.nz>, a certain Woody Allen lookalike
- >writes:
- >
- >> I am trying to detect in my application whether or not the user is in Australia
- >> - which includes New Zealand in a remarkably insensitive slight to my country -
- >> and I have been doing The Right Thing: calling IUGetIntl(0) and checking the
- >> intl0Vers field to see what version of the system is running.
- >>
- >> I have just discovered that this won't work for most of my Australian/NZ users
- >> who are using their Macs as they came out of the box, not unreasonably. (The
- >> first thing I always do with a new Mac is repartition the hard disk to pick up
- >> the extra 2-4 megabytes and reinstall the system). But if you leave it alone,
- >> that standard Australian Mac is set to verUS! The Australian international
- >> resources are there, but the International control panel isn't. So most users
- >> will just carry on and occasionally wonder why the day and the month in their
- >> dates are the wrong way round.
- >>
- >> What I'm going to have to do is check directly for the presence of the
- >> Australian itl0/itl1 resources in the System file. Which is not exactly the way
- >> things ought to be. Why don't new Macs come properly configured?
- >
- >I've bitched about this too. I think the fault lies with Apple Australia
- >(who I assume are the ones responsible for creating "Z" versions of systems).
- >The installer script for *every* Z system I've ever seen will install the
- >right resources, but will leave the region setting (and date format) at 0
- >(US) instead of 15 (Austral[as]ian). To add insult to injury, when you update
- >your system to a newer version, the Installer will change the region code
- >back to 0, if you had it configured to something else! And of course the
- >installer script leaves out the "International" control panel for some reason...
- >
- >Perhaps Aussies are getting used to things American. After all, Keating
- >heads the "Labor" party, doesn't he?
- >
- >In which case, maybe it's time for an NZ-specific system...
- >
- >Lawrence
- >living in what is probably still the second-most loyal of Britain's former
- >colonies (after the Falkland Islands...)
-
- Of course, you can do it the hard way: Assuming the user has set up the
- right location in the Map control panel, you can ask the system for its
- location. See Inside Macintosh, Vol VI, Worldwide Software (or something the
- like).
- -Christoph
-
- Christoph P. Sold CATS Software GmbH
- Mussbacher Landstr.2
- W-6730 Neustadt (Weinstrasse)
- ger.xse0035@applelink.apple.com Germany
-
- "If an apple is fun, what the heck is an appletree?"
-