← Back to team overview

zeitgeist team mailing list archive

[Bug 827420] Re: Unity dash file search returns relevant files and folders but not all as I expect.

 

Dear developers,

I believe this issue isn't relevant to the translations, but is about
the word breaking of Chinese language in ZG or Unity (I don't know which
is the exact package for this).

Let's take a description in the desktop of gnome-games as example:
#: ../gnome-sudoku/gnome-sudoku.desktop.in.in.h:2
msgid "Test your logic skills in this number grid puzzle"
msgstr "通过这个数字格子解谜游戏测试您的逻辑能力"

In English, we break words when there is a space, or an interpunction,
so unity/zg can search for results that contains any word of a certain
sentence. This is why gnome-sudoku is shown in result when typing
"logic".

But in Chinese, we don't break words with space, "通过这个数字格子解谜游戏测试您的逻辑能力"
is a correct translation. And unity/zg is confused for its still dealing
with those words with the English logic (this line of translation would
be treated as a single word).

When we come to the question of word breaking of Chinese, I recommend
you to look at Chromium and LibreOffice, these two software have good
support for this. I can't tell the exact name of the library/function,
but when you double click at a sentence, these two software can select a
Chinese word instead of the whole line.

It is a bad idea that to treat every Chinese character as a word, which
will let users be confused.

--
Best regards,
Aron Xu

-- 
You received this bug notification because you are a member of Zeitgeist
Extensions, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/827420

Title:
  Unity dash file search returns relevant files and folders but not all
  as I expect.

Status in Ubuntu Translations:
  Triaged
Status in Unity:
  Invalid
Status in Zeitgeist Framework:
  Invalid
Status in Zeitgeist Extensions:
  Invalid

Bug description:
  I created 1 new file named “通信传染” and 1 new folder named “通信传” on the
  Desktop. Searching for “通” in the 'dash' (Super + F) returns 0 match.
  I expect those 2 files should appear in the search result.

  Searching for “下载” in the 'dash' (Super + F) returns the “Downloads”
  folder as expected.

  Searching for “文件” for “Documents” returns the “Documents” folder and
  2 other documents I just created. However, there is also “文” in the
  home folder and in File System name in Chinese but they are not shown
  in the search result. I think the home folder should be shown, I am
  not sure about the file system.

  Test results courtesy of samantha.jian-pielak@xxxxxxxxxxxxx

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-translations/+bug/827420/+subscriptions