semvec/pypi-packages huggingface dataset:
i18n-updater-cn 1.0.7
Minecraft模组汉化包更新器
Requires Python: >=3.6

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

[![PyPI version](https://img.shields.io/pypi/v/i18n-updater-cn.svg)](https://pypi.org/project/i18n-updater-cn/)
[![Python Version](https://img.shields.io/pypi/pyversions/i18n-updater-cn.svg)](https://pypi.org/project/i18n-updater-cn/)
[![License](https://img.shields.io/github/license/kressety/I18nUpdatePython)](LICENSE)

这个Python软件包是[I18nUpdateMod](https://github.com/CFPAOrg/I18nUpdateMod3)的Python实现版本，用于自动下载、合并和转换由[CFPAOrg团队](http://cfpa.team/)维护的Minecraft模组汉化包。

汉化资源包使用[Minecraft Mod Language Package](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package)项目中的文件，适用于各种Minecraft版本。

## 安装

使用pip安装:

```bash
pip install i18n-updater-cn
```

## 使用方法

### 命令行使用

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

```bash
i18n-updater-cn 1.20.4
```

指定Mod加载器:

```bash
i18n-updater-cn 1.18.2 --loader Fabric
```

直接指定输出目录:

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

查看完整帮助:

```bash
i18n-updater-cn --help
```

### 作为Python库使用

您也可以在自己的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 及以上版本

## 相关项目

- [I18nUpdateMod3](https://github.com/CFPAOrg/I18nUpdateMod3) - 本项目的Java版本原型
- [Minecraft-Mod-Language-Package](https://github.com/CFPAOrg/Minecraft-Mod-Language-Package) - 中文汉化资源包项目
chercher-plugin-md 0.1.7
Chercher plugin that adds support for markdown files.
Requires Python: >=3.13

# chercher-plugin-md

[Chercher](https://github.com/dnlzrgz/chercher) plugin that adds support for markdown files.

## Installation

> [!NOTE]
> This plugin is included with Chercher by default, so no additional installation is necessary

## Settings

> [!NOTE]
> This plugin does not requires any additional settings.
msg2po 1.4.3
A set of helper tools to convert Fallout 1/2 MSG and WeiDU TRA into GNU gettext PO and back.
Requires Python: >=3.8
Keywords: Fallout, Fallout 2, Baldur's Gate, Infinity Engine, WeiDU

# MSG2PO

[![Build status](https://github.com/BGforgeNet/msg2po/workflows/release/badge.svg)](https://github.com/BGforgeNet/msg2po/actions?query=workflow%3Arelease)
[![Patreon](https://img.shields.io/badge/Patreon-donate-FF424D?logo=Patreon&labelColor=141518)](https://www.patreon.com/BGforge)
[![Telegram](https://img.shields.io/badge/telegram-join%20%20%20%20%E2%9D%B1%E2%9D%B1%E2%9D%B1-darkorange?logo=telegram)](https://t.me/bgforge)
[![Discord](https://img.shields.io/discord/420268540700917760?logo=discord&label=discord&color=blue&logoColor=FEE75C)](https://discord.gg/4Yqfggm)
[![IRC](https://img.shields.io/badge/%23IRC-join%20%20%20%20%E2%9D%B1%E2%9D%B1%E2%9D%B1-darkorange)](https://bgforge.net/irc)

This is a set of tools to convert Fallout 1/2 MSG and WeiDU TRA into GNU gettext PO and back, used in [BGforge Hive](https://hive.bgforge.net/). Ask questions [here](https://forums.bgforge.net/viewforum.php?f=9).

### Installation

```bash
pip install msg2po
```

Also install [Gettext tools](https://www.gnu.org/software/gettext/), and make sure they are in PATH.

### Poify

```bash
$ poify.py -h
.bgforge.yml not found, assuming defaults
usage: poify.py [-h] [-e ENC] [DIR]

Poify files in selected directory

positional arguments:
  DIR         source language directory (default: ./english)

options:
  -h, --help  show this help message and exit
  -e ENC      source encoding (default: cp1252)
```

### Action

Github [action](docs/action.md) is available for automatic processing.

---

[Changelog](docs/changelog.md)

### Unfuzzy

Unfuzzy removes fuzzy flag and previous msgid from PO entries, if after all replacements current msgid and previous msgid match exactly. Usually it is run after spelling changes in source language, to reduce diff noise and avoid extra review burden.

The comparison is case sensitive. The replacements are read from `unfuzzy.yml` in current directory, example:

```yaml
- ["Nuka Cola", "Nuka-Cola"]
- ["nuka cola", "Nuka-Cola"]
```

Run

```bash
unfuzzy.py -w data/text/po/french.po
```