Closed scriptingstudio closed 2 years ago
Test-WithCulture
is designed to run a scriptblock on a new thread with a different culture.
You cannot use it to permanently change the culture on your computer.
Got it. That was the point I was confused. An expression like [System.Threading.Thread]::CurrentThread.CurrentUICulture = [cultureinfo]'fr-fr'
does not work directly from console.
Thanks.
The function works wonderfully, but how it is not clear. I am trying to set new culture
All properties but DateTimeFormat are readonly. I admit I don't understand how it works but it really does. How?
The same happens when I am playing with this
Where am I doing wrong?