Skip to content

tksh164/change-windows-language-regional-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Change the Windows language & regional settings

This scripts demonstrate that change the Windows language options and region settings.

You need run the script line by line because the script has two phases that include the system reboots.

Phase 1:

  1. Download the Japanese language pack.
  2. Install the Japanese language pack to the system.
  3. Install the Japanese language related capabilities to the system.
  4. Set the time zone for the system.
  5. Restart the system.

Phase 2:

  1. Set the current user's language options and copy it to the default user account and system account. Also, set the system locale.
  2. Restart the system.

References

  • Language pack download

  • Language options configuration

    The script uses Multilingual User Interface XML file for language options configuration. That explained in Guide to Windows Vista Multilingual User Interface.

  • Input Profiles (Input Locales)

    You can find your language's Input Profile in Default Input Profiles (Input Locales) in Windows.

  • Geographical Locations

    You can find your Geographical Location in Table of Geographical Locations.

  • Cultures

    You can get all cultures by the following PowerShell code. It's use for UserLocale and SystemLocale.

    [System.Globalization.CultureInfo]::GetCultures([System.Globalization.CultureTypes]::AllCultures).Name
  • Time zones

    You can get all available time zones by the following PowerShell code.

    Get-TimeZone -ListAvailable

Notes

  • Sometimes Add-WindowsCapability cmdlet failed with the following message. You can simply retry the command to resolve it.

    Add-WindowsCapability : The data area passed to a system call is too small.
    At line:1 char:1
    + Add-WindowsCapability -Online -Name 'Language.Basic~~~ja-JP~0.0.1.0'  ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Add-WindowsCapability], COMException
        + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand
    

Related repo

License

Copyright (c) 2021-present Takeshi Katano. All rights reserved. This software is released under the MIT License.

Disclaimer: The codes stored herein are my own personal codes and do not related my employer's any way.