Bug 141242 - Persian (Farsi) words can not be found using the way LibreOffice tip of the day suggests
Summary: Persian (Farsi) words can not be found using the way LibreOffice tip of the d...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-25 04:51 UTC by افشین
Modified: 2021-04-23 19:59 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description افشین 2021-03-25 04:51:11 UTC
Description:
LibreOffice tip of the day: Want to find words containing more than 10 characters? 
Edit > Find & Replace > Search > [a-z]{10,} > Other Options > check Regular expressions.

Unfortunately, Persian (Farsi) words cannot be found via this way!

Steps to Reproduce:
1.Edit > Find & Replace > Search > [a-z]{10,} > Other Options > check Regular expressions.

Actual Results:
Only find English words!

Expected Results:
Find words of other languages, for example Persian (Farsi) words. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.1.1.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 2; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: fa-IR (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.1.1~rc2-0ubuntu0.20.04.1~lo1
Calc: threaded
Comment 1 Hossein 2021-03-25 15:55:31 UTC
This is not a LO bug, but rather an ambiguity in the tip of the day text.

LibreOffice tip of the day:
"Want to find words containing more than 10 characters?"
should be changed to:
"Want to find English words containing more than 10 characters?"

Searching for Persian characters is OK, by using this regular expression:
[ا-ی]{10,}

The odd thing here, is that you can not type the above expression in the text box, which itself is a separate bug.
Comment 2 Ming Hua 2021-03-25 17:13:30 UTC
(In reply to Hossein from comment #1)
> LibreOffice tip of the day:
> "Want to find words containing more than 10 characters?"
> should be changed to:
> "Want to find English words containing more than 10 characters?"
I disagree.  There are plenty of languages other than English which also use the Latin alphabet, where this tip-of-the-day works fine (not considering diacritic marks).

Translators for non-Latin languages should adjust the wording themselves to better accommodate their language and users.  Adding a comment for translators may be a good idea, but specifying "English words" is unnecessary.