/LC_MESSAGES中删除.mo文件但.po文件在其中时,我的应用程序中的Gettext会显示以下错误: No translation file found for domain', domain)FileNotFoundError: [Errno 2] No translation file found for domain: 'bot' 可能的原因是什么?我看过一些没有.mo文件
在我的包中,我想为它包含的每个.py脚本使用一个.po文件。commandOne_fr.po 在mainscript.py中,我获得了下面这行代码来将gettext应用于字符串: if "fr" in os.environ['LANG']:/locales', languages=['fr'])else:
gettext.insta