diff --git a/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 b/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 index fb481e7..69f0c53 100644 --- a/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 +++ b/Winget-AutoUpdate/functions/Get-NotifLocale.ps1 @@ -3,7 +3,7 @@ Function Get-NotifLocale { #Get OS locale - $OSLocale = (Get-Culture).Parent + $OSLocale = (Get-UICulture).Parent #Test if OS locale notif file exists $TestOSLocalPath = "$WorkingDir\locale\$($OSLocale.Name).xml"