tag:help.appveyor.com,2012-11-13:/discussions/questions/51132-is-it-possible-to-change-the-default-input-language-when-running-a-build-in-appveyorAppVeyor: Discussion 2020-12-08T07:59:19Ztag:help.appveyor.com,2012-11-13:Comment/488025972020-11-05T18:09:55Z2020-11-05T18:09:55ZIs it possible to change the default input language when running a build in AppVeyor?<div><p>You mean changing locale: <a href="https://docs.microsoft.com/en-us/powershell/module/international/set-winsystemlocale?view=win10-ps">https://docs.microsoft.com/en-us/powershell/module/international/se...</a> ?</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/488025972020-11-09T00:10:54Z2020-11-09T00:10:54ZIs it possible to change the default input language when running a build in AppVeyor?<div><p>Hi Feodor.</p>
<p>Thanks for that URL. Yes. I want to change locale.<br>
I have added the following commands in appveyor.yml by checking the current locale (en-US) and then changing to another locale (en-AU).</p>
<pre>
<code> - ps: GET-WinSystemLocale
- ps: Set-WinSystemLocale -SystemLocale en-AU
- ps: GET-WinSystemLocale</code>
</pre>
<p>However, the locale is not updated to en-AU.</p>
<p>Could you please help to check if there is any configuration I should try?</p></div>weerayuth_rtag:help.appveyor.com,2012-11-13:Comment/488025972020-11-09T02:13:58Z2020-11-09T02:13:58ZIs it possible to change the default input language when running a build in AppVeyor?<div><p>OK, looks like VM needs to be restarted (<a href="https://github.com/appveyor/ci/issues/809#issuecomment-396784239">source</a>). Give it a try:</p>
<pre>
<code>init:
- ps: Set-WinSystemLocale en-AU
- ps: Start-Sleep -s 5; Restart-Computer
- ps: Start-Sleep -s 5</code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/488025972020-11-09T04:52:09Z2020-11-09T04:52:09ZIs it possible to change the default input language when running a build in AppVeyor?<div><p>Thanks Feodor.</p>
<p>It is working.</p></div>weerayuth_r