Trying to change system Locale and Input language via XML
I have a Japanese Language pack MUI for win 7 ,I was able to successfully install the MUI using lpksetup.exe the next step is after installation the defaut system language needs to be selected and as Japanese and the keyboard input method should also be Japanese ,after digging in MSDN we found it can be done via XML file contents are pasted here ,this XML file can be run via this command ""control intl.cpl,, /f:"filepath.xml",0,true",The problem is the Language settings wont change ,I am pretty sure something amiss in xml because this works for other language,e.g Finnish,any thought on this ?
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend"> <!-- user list --> <gs:UserList> <gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/> </gs:UserList> <!-- UI Language Prefernces --> <gs:MUILanguagePreferences> <gs:MUILanguage Value="ja-jp"/> <gs:MUIFallback Value="ja-jp"/> </gs:MUILanguagePreferences> <!-- system locale --> <gs:SystemLocale Name="ja-jp"/> <!-- input preferences --> <gs:InputPreferences> <gs:InputLanguageID Action="add" ID="0411:{03B5835F-F03C-411B-9CE2-AA23E1171E36}{A76C93D9-5523-4E90-AAFA-4DB112F9AC76}"/> <!--ja-jp--><gs:InputLanguageID Action="add" ID="0411:{03B5835F-F03C-411B-9CE2-AA23E1171E36}{A76C93D9-5523-4E90-AAFA-4DB112F9AC76}"/> </gs:InputPreferences> <!-- user locale --> <gs:UserLocale> <gs:Locale Name="ja-JP" SetAsCurrent="true" ResetAllSettings="true"> </gs:Locale> </gs:UserLocale> </gs:GlobalizationServices>
Answers (1)
Hey rajdera1, here's a copy of an xml file which I use in order to deploy a few language inputs during imaging. Are you trying to add the inputs and set jp as the default or are you trying to change the locale to jp with this? Is it the locale or the input which isnt working properly? Hope my example helps!
<gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
<gs:UserList>
<gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/></gs:UserList>
<gs:InputPreferences>
<!--en-AU--><gs:InputLanguageID Action="add" ID="0409:00000c09" Default="true"/>
<!--de-DE--><gs:InputLanguageID Action="add" ID="0407:00000407"/>
<!--fr-FR--><gs:InputLanguageID Action="add" ID="040c:00000409"/>
<!--zh-CH--><gs:InputLanguageID Action="add" ID="0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{F3BA9077-6C7E-11D4-97FA-0080C882687E}"/>
<!--jp-JP--><gs:InputLanguageID Action="add" ID="0411:{03B5835F-F03C-411B-9CE2-AA23E1171E36}{A76C93D9-5523-4E90-AAFA-4DB112F9AC76}"/>
</gs:InputPreferences>
</gs:GlobalizationServices>