Skip to content
DuckDuckStudioPublic

About

用于加载 Python 标准库 argparse 在 https://github.com/DuckDuckStudio/python-argparse-translations 中的翻译。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ajaw

Pypi 上的版本

PyPI | Test PyPI

用于加载 Python 标准库 argparse 的翻译。

使用

pip install ajaw

# Test PyPI
pip install -i https://test.pypi.org/simple/ ajaw
import ajaw

# 自动检测
ajaw.load_translations()

# 指定语言
ajaw.load_translations(lang="zh-CN")

Tip

如果你使用 PyInstaller 打包,请在打包命令中添加 --collect-data ajaw 以打包翻译文件(.mo 文件)。
该参数的介绍请见 PyInstaller 文档。

许可

本项目采用 Apache License 2.0 许可协议。


包名称来源: 伟大的圣龙库胡勒阿乔!

About

用于加载 Python 标准库 argparse 在 https://github.com/DuckDuckStudio/python-argparse-translations 中的翻译。

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Used by

Contributors

Languages