Bug 176594 - No autmatic detection of paragraph direction in the editor
Summary: No autmatic detection of paragraph direction in the editor
Status: RESOLVED DUPLICATE of bug 173657
Alias: None
Product: lokalize
Classification: Applications
Component: general (show other bugs)
Version: 0.2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Nick Shaforostoff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-01 00:55 UTC by Khaled Hosny
Modified: 2008-12-17 11:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Khaled Hosny 2008-12-01 00:55:47 UTC
Version:           0.2 (using KDE 4.1.3)
OS:                Linux
Installed from:    Unspecified Linux

Lokalize's editor inherits its direction (whether rtl or ltr) from that of the UI, so when running Lokalize with English all paragraphs are left aligned, the same with Arabic interface; all will be right aligned.

Instead paragraph direction should be determined according to the first strong BiDi char, according to Unicode BiDi algorithm (UAX #9).

Kbabel used to do this, so may be its paragraph direction detection code (if there any) can be of some use for Lokalize. It'll be nice if doing this don't disable the ability to switch paragraph direction present in Qt4.
Comment 1 George Kiagiadakis 2008-12-17 11:31:49 UTC

*** This bug has been marked as a duplicate of bug 173657 ***