RE: language packagemaker is running in?
RE: language packagemaker is running in?
- Subject: RE: language packagemaker is running in?
- From: "Lisa Weimer" <email@hidden>
- Date: Mon, 31 Mar 2008 11:41:15 -0600
- Thread-topic: language packagemaker is running in?
Thanks so much for getting back to me Stéphane, Bill and Bill.
I'm going to try the way of the locale command that Bill Janssen suggested. I think that is what I am looking for, I will soon find out ;)
I'm trying to maintain a consistent language experience across the installer.
The problem is the locale that the user is installing in may not be the same as the one root is in. So we might be running the installer in French or German. The install requires root-- so the user will click "install" and then they are prompted for their password. The application installs and all the pre/postflight scripts are run (as root).
During postflight we launch a small helper application to do some more setup, but the helper application always launches in English. I am thinking it's because the locale of root is English.
If I was able to pass the locale of the user running the install into the helper application when I launch it in postflight, then the helper application will correctly retrieve the correct localized string and be in the same language the user is in.
(The app itself uses localization functions mentioned by Bill Coderre, and knows how to display the correct strings)
If we run it through ARD, then of course there are no problems--everything is done silently and correctly with no confusing language jumps.
I'll let you know how it goes. If you have any more ideas now that I have told you a bit more-- please let me know :)
Thanks for some more ideas :)
Lisa
-----Original Message-----
From: Bill Janssen [mailto:email@hidden]
Sent: Friday, March 28, 2008 7:55 PM
To: Lisa Weimer
Cc: email@hidden
Subject: Re: language packagemaker is running in?
See
http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap08.html
and the output of the "locale" command.
Bill
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden