/Multilingual

Automatically add known languages

Primary LanguagePowerShellMIT LicenseMIT

QUICK DOWNLOAD GUIDE

Open "Terminal" or "PowerShell ISE" as an administrator, paste the following command line into the "Terminal" dialog box, and press Enter to start running;


Open "Terminal" or "PowerShell ISE" as an administrator, set PowerShell execution policy: Bypass, PS command line:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Force

a) Prioritize downloading from Github node

irm https://github.com/ilikeyi/Multilingual/raw/main/get.ps1 | iex

b) Prioritize downloading from Yi node

irm https://fengyi.tel/mul | iex

When it cannot be downloaded, it will be automatically downloaded from other nodes and run automatically after the download is completed.


Available languages


Fully automatic addition of languages already installed on Windows systems

Require

PowerShell Version

  • PowerShell 5.1
    • Requires Windows 11, Windows 10, Windows Server 2022, Windows Server vNext or the 5.1 version that comes with the system by default. You can optionally upgrade to the latest version of PowerShell 7.


Command Line

  • You can choose "Terminal" or "PowerShell ISE". If "Terminal" is not installed, please go to https://github.com/microsoft/terminal/releases to download;

  • Open "Terminal" or "PowerShell ISE" as an administrator, set PowerShell execution policy: Bypass, PS command line:

Set-ExecutionPolicy -ExecutionPolicy Bypass -Force
  • After the download is completed, unzip it to any disk, for example, unzip it to: D:\Multilingual

  • After finding D:\Multilingual\Engine\Engine.ps1, right-click the file and select Run as PowerShell, or copy the path and paste it into "Terminal" or "PowerShell ISE" to run. For the path with a colon, add the & character in the command line , example: & "D:\Multilingual\Engine\Engine.ps1"


The main function: 

    1. Support online upgrade;
    2. Support hot refresh after modifying the script;
    3. Customized creation of upgrade packages

    4. Custom deployment mechanism
    4.1. Implement deployment rules according to description files;
    4.2. Get the installed language pack and add it automatically;
    4.3. During the adding process, the S and SN versions are automatically determined and added according to the rules;
    4.4. Automatic addition mechanism:
    4.4.1. When encountering the monolingual version,
    When only single language is used, the current language is automatically added as the global preferred language;
    When the monolingual version contains multi-language packages,
    After adding the preferred language, if en-US is among the languages waiting to be added, it will be added as the second language first;
    If there is no en-US, the installed language is randomly selected as the second language.
    For example, monolingual version markup: CoreSingleLanguage, CoreCountrySpecific

    4.4.2. When encountering the multilingual version,
    After adding your preferred language, all installed languages are automatically added.

    5. Custom deployment tags

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Yi - https://fengyi.tel - 775159955@qq.com

Project Link: https://github.com/ilikeyi/Multilingual