下载网址: http://stardict.garage.maemo.org/
点击页面上的install图标安装。
目前还不支持取词和语音朗读,词典可以放在以下的目录中:
/usr/share/stardict/dic
~/.stardict/dic
/media/mmc1/dic /media/mmc1/stardict/dic
/media/mmc2/dic /media/mmc2/stardict/dic
注意,这个版本只能用于Nokia 800。使用770的朋友可以安装Li Zhao移植的命令行版的stardict - sdcv
2007-08-20 更新: 上面的目录写错了,已经修改。还有,树形词典要放在stardict/treedic目录下
Adding a new language to 770/N800 is very simple. Once done, you can choose it from the “Device language” list of the “Language & region” applet.

1. install extra locales, got from garage.maemo.org/projects/locales-extras
2. add the country code to gconf configuration database, e.g.
# gconftool-2 --set /apps/osso/applet/languageregional/available_languages \
--type=list --list-type=string "[zh_CN]"
an alternative way to do this is using gconf-editor.
of course, the text of UI need to be translated to this new language.
参考maemo 3.0 Porting Guide 的 Porting existing application to maemo 3.0 一节。
StarDict的源码取自Ubuntu Dapper,版本2.4.5-1.1
1. 由于要使用Hildon UI,所以可以去掉libgnomeui, libbonobo2, liborbit2。查看configure.in后发现可以使用configure的一个选项 –disable-gnome-support。修改configure.in,在加入对hildon-libs 和 libosso的检测,PKG_CHECK_MODULES(STARDICT, [gtk+-2.0 hildon-libs libosso])
2. 原来的help文件不适用于maemo,所以help目录不需要处理。修改Makefile.am,从SUBDIRS列表里删去help,还需要修改configure.in,从AC_OUTPUT列表里删去help及其子目录的Makefile
3. 执行autogen.sh,生成新的configure脚本
4. 修改debian/rules文件中调用configure脚本那一行,加上 –disable-gnome-support
5. 移去debian/control里对 libgnomeui-dev, scrollkeeper, libbonobo2-dev, liborbit2-dev 的依赖,修改Section为user/utils
6. 现在可以用dpkg-buildpackage命令编译了。
7. 为了能够正常显示英语音标等符号,还需要ttf-thryomanes字体。

See garage.maemo.org/forum/forum.php?forum_id=951
Repository:
N800: maemocjk.garage.maemo.org/ bora user
770: maemocjk.garage.maemo.org/ mistral user
The scim-tables and scim-chewing is in progress.
Latest Comments
RSS