[DictTango] 安卓版 v2.2.5.0

你也可以参考我最新的帖子, 这个是不需要改欧路就可以显示tiff的

:+1: 谢谢,谢谢!

@glacierlee could you make the Android App Open Source ?

Publishing the source code on GitHub would allow new developers to contribute…

A problem of the .mdx format is its proprietary nature that makes it difficult to develop new applications. Making “Dict Tango” Open Source would be beneficial for everyone !

If the App is made Open Source, it would never die because it could be forked. Instead, MDict is currently abandoned and nobody can benefit from that code because it is proprietary (last update on 2019).

1 个赞

Feature Request:

  1. In the “Dictionary Group” section add an option to move a Dictionary 1 position UP or DOWN.
  2. Also, add an option to move a Dictionary to the “Bottom” of a Group.

In comparison with MDict, it is too difficult to organize dictionary positions within a group.

1 个赞

Both functions already have in Dict Tango:

  1. Press and hold right icon, then you can move dictionary to any position you wanted;
  2. Click middle icon, you can move dictionary to the top.

Try and try again, you can enjoy more in Dict Tango.

3 个赞

Thank you for your suggestion, but I don’t intend to make Dict Tango open source at the moment.

If you are looking for the codes to parse the .mdx file, here are some open source projects from Github for your reference.

2 个赞

Feature Request:

  • Add option to “Auto-Pronounce words in main window

That option is available on GoldenDict PC:

It saves time to automatically hear the pronunciation from the first .mdx in a group. BlueDict has that feature…

Can you send me a link to the GoldenDict version (with dark theme) you are using?

更新时间: 12月31日
版本: v1.2.1.2
主要的改动

  1. 添加了词典内联css和脚本的编辑功能(在词典的编辑详情里)
  2. 添加了通用TTS生成函数:__addTTS_ByName, __addTTS_ByTag 和 __addTTS_ByCssClass
  3. 解决了一些小问题

通用TTS生成函数的使用方法:

  1. 添加方法: 添加相关函数和参数加到词典的内联脚本就可以了
    2.示例(根据不同的用法添加不同的函数)
    __addTTS_ByName(“foo”), 就是所有的名字是foo的元素都加上发音图标,点击时以TTS阅读里面的文字
    __addTTS_ByTag(“div”), 就是所有的div都加上发音图标阅读里面的功能
    __addTTS_ByCssClass(“foo”) 就是所有class是foo的元素都加上发音图标阅读里面的功能
2 个赞

请问名字是指 id 吗?

不是的,是name

1 个赞

这个功能非常强大啊!比SIO大补丸更进一步了。但是用不好啊 : (
比如新华字典,词条如:

箭
<link rel="stylesheet" type="text/css" href="XHZD12.css"/>
<entry id="3095"><hw>箭</hw><py>jiàn</py>
<div class="info"><ziji>一级</ziji><bihua>15画</bihua></div>
<def><num>❶</num>用弓发射到远处的兵器,箭杆前端装有金属尖头。</def>
<def><num>❷</num>形状或功能像箭的东西:令~|火~。</def></entry>
</>

我在脚本加入函数如下:
可在查箭字时没有出现发音图标,哪里有问题呢?用英文词典试了也没有发音图标。

PS:我也想知道什么是name……

哦,我刚才的示例里写错了函数名,应该__addTTS_ByTag(“div”), 在你的例子里直接放__addTTS_ByTag(“def”)就行

byName的情况就好像下面的例子

<div name="div1">12323</div>
<div name="div1">12324</div>
<div name="div1">12325</div>
1 个赞

大补丸还是比这个强大的,因为大补丸有调整了css, 例句换行及词句切换的功能

1 个赞

原来都不能用,现在都行了 :grin:

这个功能要是能配合GD的“审查元素”(显示源码?)使用,那就更牛皮了。就不用每本词典都要解包看看都用了什么标签。

1 个赞

你去设置->词典设置里打开调试模式,然后用词典查一个词,相关的html会在sdcard里DictTango/Logs目录里生成,你直接打开html就可以看到里面的内容了

1 个赞

对哦,把这个功能忘了……

I use GoldenDict on Manjaro Linux from the AUR Repository. Works perfectly and follows the system theme (dark):

https://aur.archlinux.org/packages/goldendict-git

1 个赞

It’s unfortunate that there is no version for Windows.

希望能够添加epub格式文件的阅读功能,而且能够直接在epub格式文件中选中查词。多谢了。软件很棒,赞一个

2 个赞