Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按照 README 操作后无效 #7

Open
caijiMK opened this issue Nov 14, 2023 · 5 comments
Open

按照 README 操作后无效 #7

caijiMK opened this issue Nov 14, 2023 · 5 comments

Comments

@caijiMK
Copy link

caijiMK commented Nov 14, 2023

我按照 README 说的操作了,我在 /usr/share/locale-langpack/zh_CN/LC_MESSAGES/ 中发现了一个 gcc.mo,无论我是把编译好的 gcc.mo 替换掉这个,还是放到 /usr/share/locale/zh_CN/LC_MESSAGES/ 中,都没有效果,请问是什么问题?

我的系统是 Ubuntu 22.04,g++ 版本是 11.4.0,xgettext 的版本是 0.21。

@LTSlw
Copy link
Contributor

LTSlw commented Nov 14, 2023

是否存在一个gcc-11.mo呢,如果有,把那个替换掉

@caijiMK
Copy link
Author

caijiMK commented Nov 14, 2023

是否存在一个gcc-11.mo呢,如果有,把那个替换掉

没有 gcc-11.mo

@liqianqi
Copy link

俺也一样,没有任何效果

@liqianqi
Copy link

好吧,要先执行这个

sudo apt-get install gcc-12-locales

@liqianqi
Copy link

12换成自己gcc版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants