- This topic has 3 replies, 3 voices, and was last updated 18 years ago by
trondah.
-
AuthorPosts
-
October 1, 2008 at 5:10 pm #374312
blake
ParticipantHey People,
I have a need to change the localization of an instadmg created image after it’s been built. I see that in the instadmg script it sets an iso code.# Default ISO code for default install language. Script default is English.
ISO_CODE=”en”I’m assuming that this is used by the installer to select which bit’s are installed. Can anybody confirm how this is used exactly?
Also If anybody knows all the things to change an OS image from English to another language please share.. I’m writing a script that creates a user and sets the language of the OS on first boot. Currently doing some tests with the following commands but I’m not convinced thats all I need.
changing from english to japanese
defaults write NSGlobalDomain AppleLanguages “(ja, en, fr, de, es, it, nl, sv, nb, da, fi, pt, zh-Hans, zh-Hant, ko)”
defaults write NSGlobalDomain AppleLocale “ja_JP”Thanks,
BlakeOctober 2, 2008 at 5:42 pm #374330knowmad
Participantcheck out this thread:
https://www.afp548.com/forum/viewtopic.php?showtopic=22278October 2, 2008 at 10:54 pm #374345blake
ParticipantHere is an update on the info I have currently..
The InstaDMG variable I assume is passed to the installer command and is really only used during the package installation process.
Localizing the image itself involves the user account and some .plists that normally get configured by setup. The script I’m working replaces the user creation packages because I want to ditto over the localized user template. I’m also setting these variables..
/usr/bin/defaults write /Library/Preferences/.GlobalPreferences AppleLanguages “(ja, en, fr, de, es, it, nl, sv, nb, da, fi, pt, zh-Hans, zh-Hant, ko)”
/usr/bin/defaults write /Library/Preferences/.GlobalPreferences AppleLocale “ja_JP”
/usr/bin/defaults write /Library/Preferences/.GlobalPreferences Country “ja_JP”Blake
October 19, 2008 at 10:35 pm #374494trondah
ParticipantI can’t seem to get localization right, very little information is available on this. Do you have success with changing those variables in the system wide .GlobalPreferences?
-
AuthorPosts
- You must be logged in to reply to this topic.