我使用这个命令行:
xgettext -kT._ -kT._n:1,2 -kT._p:1c,2 -kT._pn:1c,2,3
-LC# --omit-header --from-code=UTF-8 -o messages.pot
-c -n -p PO ./TransClassOne.cs尽管如此,我还是从xgettext收到了这样的消息:
xgettext.exe: error while opening "._" for reading: No such file or directory有什么想法吗?
发布于 2019-10-01 21:37:37
使用MacOS:
- `nano ~/.zshrc`
- at the end of file add `export PATH="/usr/local/opt/gettext/bin:$PATH"` and save it
- update profile with `. ~/.zshrc` ; pay attention to not forget the dot before `zshrc`
- restart your terminal (optional)
https://stackoverflow.com/questions/41870164
复制相似问题