CrossOver Support - Community Forums

Important Information These are community forums and not official technical support. If you need official support: Contact Us

Chinese CrossOver Forum
General discussion forum for Chinese CrossOver users.

The following comments are owned by whoever posted them. We are not responsible for them in any way.

Back to Threads Reply to Thread Subscribe

安装时如何设置中文环境

系统EN环境

wine安装软件时,可以在终端设置为 env LC_ALL=zh_CN.UTF-8,然后再安装软件

但是,crossover图形界面下没有相关设置,安装时一路乱码,

请问如何解决?

另:卸载软件后,图形界面容器里仍残留图标,可以提供菜单手动清理吗?或者自动清理?

谢谢

您好,

george pent wrote:

系统EN环境

wine安装软件时,可以在终端设置为 env
LC_ALL=zh_CN.UTF-8,然后再安装软件

但是,crossover图形界面下没有相关设置,安装时一路乱码,

请问如何解决?

抱歉,目前还没有图形界面的相关设置,我们之后会考虑这个问题。

针对安装程序,您可以通过以下办法解决:

  • Linux:
    在终端输入:
    LC_ALL=zh_CN.UTF-8 /opt/cxoffice/bin/crossover
    来运行 CrossOver,然后进行软件安装。

  • macOS:
    在终端输入:
    LANG=zh_CN.UTF-8 LC_ALL=zh_CN.UTF-8 /Applications/CrossOver.app/Contents/MacOS/CrossOver
    来运行 CrossOver,然后进行软件安装。

针对已经安装的软件,您可以通过以下办法解决:

  • Linux:

    1. 在 ~/.local/share/applications 下找到软件对应的 desktop 启动文件;
    2. 使用文本编辑器打开该文件,找到 Exec 一项,在“Exec=”后面加上“env LC_ALL=zh_CN.UTF-8”,然后保存退出文本编辑器。
  • macOS:

    1. 在 ~/Applications/CrossOver 里面找到软件对应的启动器,使用右键菜单的“显示包内容”功能打开,并找到“Contents”里面的 Info.plist 文件;
    2. 使用文本编辑器打开该 Info.plist 文件,在倒数第三行、与倒数第二行处(也就是最后一个 </dict> 之上)加入以下内容:
    <key>LSEnvironment</key>
    <dict>
        <key>LC_ALL</key>
        <string>zh_CN.UTF-8</string>
    </dict>

如下图:

image

然后保存退出文本编辑器。

george pent wrote:

另:卸载软件后,图形界面容器里仍残留图标,可以提供菜单手动清理吗?或者自动清理?

谢谢

Linux:
这个问题可以通过 CrossOver 自带的“编辑菜单”工具解决,选中容器后可以在 CrossOver 界面右侧看到该菜单。

macOS:
在 CrossOver 菜单找到“配置->清空并重建程序菜单”,通过该功能可以重建菜单。

希望这些能帮到您,感谢支持!

谢谢

按您说的在终端输入
LC_ALL=zh_CN.UTF-8 /opt/cxoffice/bin/crossover xxx.exe 进行安装,不成功
提示“crossover:error: unexpected argument”

我是根据客服提示,编辑cxbottle.conf文件,在其中添加 LC_ALL=zh_CN.UTF-8,安装时中文显示正常

george pent wrote:

谢谢

按您说的在终端输入
LC_ALL=zh_CN.UTF-8 /opt/cxoffice/bin/crossover xxx.exe
进行安装,不成功
提示“crossover:error: unexpected argument”

不是用 crossover 运行 exe,是先运行 crossover,然后再用 crossover 里面的运行命令工具去运行 exe。

george pent wrote:

我是根据客服提示,编辑cxbottle.conf文件,在其中添加
LC_ALL=zh_CN.UTF-8,安装时中文显示正常

这样也是可以的。

[quote=666201]> (quote:755949)


谢谢

按您说的在终端输入
LC_ALL=zh_CN.UTF-8 /opt/cxoffice/bin/crossover xxx.exe
进行安装,不成功
提示“crossover:error: unexpected argument”

不是用 crossover 运行 exe,是先运行 crossover,然后再用 crossover 里面的运行命令工具去运行 exe。

明白了,谢谢

Please Note: This Forum is for non-application specific questions relating to installation/configuration of CrossOver. All application-specific posts to this Forum will be moved to their appropriate Compatibility Center Forum.

CrossOver Forums: the place to discuss running Windows applications on Mac and Linux

CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzQwNzgzMjE0LCJjc3JmX3Rva2VuIjoiTXltTU1zWFZUWlRwN0NZZyIsImdkcHIiOjB9