Skip to main content

Minecraft模组汉化包更新器

Project description

Minecraft模组汉化包更新器 (i18n-updater-cn)

PyPI version Python Version License

这个Python软件包是I18nUpdateMod的Python实现版本,用于自动下载、合并和转换由CFPAOrg团队维护的Minecraft模组汉化包。

汉化资源包使用Minecraft Mod Language Package项目中的文件,适用于各种Minecraft版本。

安装

使用pip安装:

pip install i18n-updater-cn

使用方法

命令行使用

基本用法(将弹出对话框让您选择保存位置):

i18n-updater-cn 1.20.4

指定Mod加载器:

i18n-updater-cn 1.18.2 --loader Fabric

直接指定输出目录:

i18n-updater-cn 1.16.5 --output D:/Downloads

查看完整帮助:

i18n-updater-cn --help

作为Python库使用

您也可以在自己的Python项目中导入并使用这个库:

from i18n_updater_cn import download_or_convert_language_pack

# 下载并转换汉化包
result = download_or_convert_language_pack(
    minecraft_version="1.20.4",
    loader="Forge",
    output_dir="D:/Downloads",
    debug=True
)

# 检查结果
if result["success"]:
    print(f"汉化包已保存到: {result['output_file']}")
else:
    print(f"下载失败: {result['error']}")

支持的版本

  • Minecraft: 1.6.1 ~ 1.21.5 所有版本
  • Mod加载器: Forge、NeoForge、Fabric、Quilt
  • Python: 3.6 及以上版本

相关项目

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

i18n_updater_cn-1.0.7.tar.gz (26.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

i18n_updater_cn-1.0.7-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file i18n_updater_cn-1.0.7.tar.gz.

File metadata

  • Download URL: i18n_updater_cn-1.0.7.tar.gz
  • Upload date:
  • Size: 26.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for i18n_updater_cn-1.0.7.tar.gz
Algorithm Hash digest
SHA256 d48eced0c72b3944aa8eec75c0e52cdae1a17f0a27d87348828142a5ba3245b9
MD5 44b83ac4f1972ec21ef4a17dc527e79c
BLAKE2b-256 28aa769969f81dce539fef4238905d50ce591f1bddf825125e7d8b6750ea12c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for i18n_updater_cn-1.0.7.tar.gz:

Publisher: publish-to-pypi.yml on zack-zzq/I18nUpdatePython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file i18n_updater_cn-1.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for i18n_updater_cn-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 ac66e0d5bbcd240b613ad8d2df20db419f0d82ac0e12b8926cb2af6f4d1d482b
MD5 b25c66ac0a28282b923e09d2f2597804
BLAKE2b-256 33cb71d80152fbc1f35254b75dbc94dc1a4c09de4eebd3736b06021f9c64d043

See more details on using hashes here.

Provenance

The following attestation bundles were made for i18n_updater_cn-1.0.7-py3-none-any.whl:

Publisher: publish-to-pypi.yml on zack-zzq/I18nUpdatePython

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page