Giter Site home page Giter Site logo

change-windows-language-regional-settings's Introduction

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.

change-windows-language-regional-settings's People

Contributors

tksh164 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.