翻译Libreoffice writer 6.1 到“拼写和语法检查”这一部分,遇到一个问题,无法检查出英语语法错误。
网上查到一个国外网友的帖子, https://ask.libreoffice.org/en/question ... re-writer/
然后看了自己的 Libreoffice 6.1 版的 工具 > 选项 > 语言设置 > 写作辅助 > 可用的语言模块 > 编辑 > 英语(美国)里面,确实缺少 Lightproof 这个英语语法检查模块,也许是因此导致英语语法检查功能缺失。
然而安装了 sudo apt-get install libreoffice-lightproof-en 也没用。依然不见 Lightproof 这个选项,不知应该如何解决这问题?
【已解决】Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
- yq-ysy
- 论坛版主
- 帖子: 4473
- 注册时间: 2008-07-19 12:44
- 来自: 广西(桂)南宁(邕)
- astolia
- 论坛版主
- 帖子: 6569
- 注册时间: 2008-09-18 13:11
Re: Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
不知道。18.10里的libreoffice 6.1装上libreoffice-lightproof-en就有了。你试试删掉~/.config/libreoffice/重来呢?
另外libreoffice-lightproof-en的功能非常弱,语法错误基本上就只能检查a/an用错没有
还不如用这个 https://extensions.libreoffice.org/exte ... nguagetool
另外libreoffice-lightproof-en的功能非常弱,语法错误基本上就只能检查a/an用错没有
还不如用这个 https://extensions.libreoffice.org/exte ... nguagetool
- yq-ysy
- 论坛版主
- 帖子: 4473
- 注册时间: 2008-07-19 12:44
- 来自: 广西(桂)南宁(邕)
Re: Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
感谢你的帮助,问题得到解决。astolia 写了: ↑2018-10-19 21:20 不知道。18.10里的libreoffice 6.1装上libreoffice-lightproof-en就有了。你试试删掉~/.config/libreoffice/重来呢?
另外libreoffice-lightproof-en的功能非常弱,语法错误基本上就只能检查a/an用错没有
还不如用这个 https://extensions.libreoffice.org/exte ... nguagetool
果然是这个原因,删除了旧的目录,lightproof就出现了(之前我安装过libreoffice-lightproof-en),
然后原英文指南里的 A Apple is good. 和 An apple is good. 这两个语法错误样例也可以发现了。
我要的就是这两个错误的截图,用在翻译的中文版手册里。
Language Tool 这个也曾试过下载,但速度太慢,才12k每秒,
全部下载完要2个多小时,这也忍了,它还容易中断,所以一直没能下载成功。
还有一个小问题就是,我的系统里,现在有两个 Libreoffice,
究其原因,也许是因为我安装了两次,一次是通过Ubuntu的软件中心,
另一次是通过手动安装的源,http://ppa.launchpad.net/libreoffice/ppa/ubuntu 然后 apt-get 安装的。
在系统的开始菜单里(如下图所示),怎么删除其中一个? 不带版本号的是 6.1.2.1 版,Build ID:1:6.1.2~rc1-0ubuntu0.18.04.1
中文界面正常,lightproof 语法检查也可用。
而带 6.1 版本号的界面是英文版, 6.1.2.1 版,Build ID: libreoffice-6.1.2.1-snap1
语言设置的用户界面菜单里只有繁体中文,没有简体中文选项,lightproof 依然缺失,语法检查不可用。
我觉得带 6.1 版本号的英文界面的那个很有可能是后 apt-get 安装的,不知道有什么方法可以确认,然后删除它?
- astolia
- 论坛版主
- 帖子: 6569
- 注册时间: 2008-09-18 13:11
Re: 【已解决】Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
Build ID是libreoffice-6.1.2.1-snap1说明安装的是snap版的,这个应该才是从软件中心里安装的。要么从软件中心卸载,要么用命令行snap remove xxxx
- yq-ysy
- 论坛版主
- 帖子: 4473
- 注册时间: 2008-07-19 12:44
- 来自: 广西(桂)南宁(邕)
Re: 【已解决】Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
不敢大动干戈,于是拿 Libreoffice 的数据库 base 试验了一下,奇怪了,
不论是使用软件中心卸载,还是使用 apt-get 命令卸载,都会把没有 6.1 字样的中文版 base 卸载掉,
而带 6.1 字样的英文版总是平安无事。
查看了一下系统开始菜单里启动器的详细命令,带 6.1 字样的英文版是:
env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/libreoffice_writer.desktop /snap/bin/libreoffice.writer %U
没有 6.1 字样的中文版是
libreoffice --writer %U
命令行查看 $ whereis libreoffice 的结果是
libreoffice: /usr/bin/libreoffice /usr/lib/libreoffice /etc/libreoffice /usr/share/libreoffice /snap/bin/libreoffice.math /snap/bin/libreoffice.calc /snap/bin/libreoffice.filebug /snap/bin/libreoffice.writer /snap/bin/libreoffice.impress /snap/bin/libreoffice.base /snap/bin/libreoffice.draw /snap/bin/libreoffice /usr/share/man/man1/libreoffice.1.gz
我都糊涂了,这个 snap 版本的 libreoffice 究竟是如何安装上去的?应该如何卸载?直接暴力删除?
- astolia
- 论坛版主
- 帖子: 6569
- 注册时间: 2008-09-18 13:11
Re: 【已解决】Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
就是用sudo snap remove xxxx,xxxx应该就是libreoffice,但我没用这个不确定。你看一下snap list列出的软件包名字
- yq-ysy
- 论坛版主
- 帖子: 4473
- 注册时间: 2008-07-19 12:44
- 来自: 广西(桂)南宁(邕)
Re: 【已解决】Libreoffice writer 6.1 无法进行英语语法检查,也许是因为Lightproof模块缺失
谢谢,问题解决。就是这个命令,移除了多余的 snap 版的 libreoffice。
sudo snap remove libreoffice
不过话说回头, snap 版的 libreoffice 不带简体中文界面,只带繁体中文界面,感觉很遗憾……