Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tc999/po2msg
git专用po语言文件转msg,使用python编写
https://github.com/tc999/po2msg
Last synced: 2 days ago
JSON representation
git专用po语言文件转msg,使用python编写
- Host: GitHub
- URL: https://github.com/tc999/po2msg
- Owner: TC999
- License: gpl-3.0
- Created: 2024-10-15T16:20:12.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-10-16T06:54:55.000Z (about 1 month ago)
- Last Synced: 2024-10-17T23:46:16.980Z (28 days ago)
- Language: Python
- Size: 37.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# po2msg
git专用po语言文件转msg,使用python编写## 为什么要重写?
用于单独生成 git-for-windows 语言包的脚本,原版po2msg.sh文件过于复杂,且只能在linux下运行(还一直报错),故使用python重写
## 使用方法
安装 python 3.8
克隆此仓库
```git
git clone https://github.com/TC999/po2msg.git
```安装依赖
```pip
pip install polib
```使用方法
```python
python main.py
```
> [!note]
>
> 文件名不能乱改,必须是语言编码,例如`zh_cn.po`、`zh_tw.po`、`en_us.po`等## 报告BUG:
[GitHub 议题](https://github.com/TC999/po2msg/issues)