VirgilParticipantDecember 21, 2017 at 8:49 pmPost count: 4
PSADT is not correctly retrieving the OS language. It is always returning English when the OS is French.
The AppDeployToolkitMain.ps1 uses:
[Globalization.CultureInfo]$culture = Get-Culture
[string]$currentLanguage = $culture.TwoLetterISOLanguageName.ToUpper()
If I use local powershell ISE on French machine with the above commands the OS is returned fr-FR.
But when executing the install PSADT returns:
[Initialization] :: Current Culture is [en-US] and UI language is [EN]
Anybody know where get-culture is pulling the OS language from?
HKCU\Control Panel\Desktop PreferredUILanguages? This entry is not always present
Seán LillisKeymasterDecember 22, 2017 at 10:46 pmPost count: 16
Can you try running Get-UICulture and let me know what result you get? We may need to switch to using that cmdlet in the toolkit to correctly identify the language.
- This reply was modified 6 months, 3 weeks ago by Seán Lillis.
You must be logged in to reply to this topic.