ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.44k stars 1.03k forks source link

RTL in Editors #19

Open ospectreo opened 8 years ago

ospectreo commented 8 years ago

RTL in Editors please!!!! (Hebrew, Arabic)

ibnpetr commented 8 years ago

Thanks a lot for the suggestion It will be added in a future update, unfortunately I cannot specify the time frames. BTW Feel free to share your suggestion in the Documents section on our developers forum.

ahmedaswai commented 7 years ago

Could you guide us about how can we implement this feature , we have many open source projects that can get huge benefit from implementing the RTL Languages

ospectreo commented 7 years ago

How can I help you?

medicamin commented 7 years ago

Yep! RTL is needed please... If you support for RTL languages, you will have a great new community in many other countries which use Persian, Arabic, Hebrew.... I tested all office suits in linux to have the most compatible suit with MS-Office. Believe me OnlyOffice is the best, but for RTL :-(

ibnpetr commented 7 years ago

Believe me OnlyOffice is the best

Thanks a lot for your kind feedback. We understand that RTL is very important feature and hope to implement it in the near future.

backend-eigital commented 7 years ago

+1

ghost commented 7 years ago

+1

mohammadayn commented 7 years ago

For a great app this is a big disadvantage, please add RTL feature ASAP.

TheWeirdDev commented 7 years ago

Please add RTL support.

ibnesayeed commented 7 years ago

This essential feature will help many languages including Arabic, Hebrew, Persian, Urdu, Sindhi, Kashmiri, Pashto and many more.

That said, without the support of RTL and other such essential features, claiming high fidelity with MS Office does not stand correct. Also, when comparing it with other tools in the same category, it talks about what ONLYOFFICE can do that others can't, but it does not mention anything the other way. This could be a good marketing strategy, but hiding lack of capabilities is not good for users that they would discover later.

ebraminio commented 7 years ago

I see OnlyOffice (testing Desktop version here) as so broken from text rendering standpoint and that is not just about supporting RTL, it seems OnlyOffice is not able to handle ligatures, which is first step toward supporting Arabic and also other non-RTL scripts characters joining thing,

image

So the first step would be fixing English ligatures(!) that which surprisingly will also fix much of RTL supporting issue if you get it correctly.

(Edit: probably I should have commented on https://github.com/ONLYOFFICE/DesktopEditors/issues/10 if this issue is not available on web version)

levinatan commented 7 years ago

Please add RTL support

kiani37 commented 7 years ago

Hello Thanks for the nice website You promised an update on the issue of right to left in new update will be resolved, but still has problems :(

JohnPerkin commented 7 years ago

Hello @kiani37 We understand the importance of RTL languages implementation and have already included it in roadmap. But unfortunately we could not specify any time frames for it. We will inform you in our changelog as soon as right-to-left is supported.

kiani37 commented 7 years ago

Hello @JohnPerkin Thank you for your quick reply this is the best office that I have ever used for Linux, which is even better than MS Office, Liberoffice ( Collabora Online) I appreciate it if this change happens as soon as possible. Thanks a lot...

ArMikael commented 6 years ago

Is there any updates about RTL support in the near future?

laukstein commented 6 years ago

@ONLYOFFICE, FYI to add bidi-directional support (LTR, RTL and mixed) in Web interface is as simple to add to element dir=auto.

ibnesayeed commented 6 years ago

@laukstein: FYI to add bidi-directional support (LTR, RTL and mixed) in Web interface is as simple to add to element dir=auto.

If I remember correctly, they are using canvas with custom rendering logic. Hence many native browser capabilities might not be available.

itqanmedia commented 6 years ago

Please add RTL support

alahwany commented 6 years ago

i can't write arabic after installing document server from onlyoffice what is that ?????????

most linux apps support to write arabic except onlyoffice why????????????????

NavpreetSamra commented 6 years ago

Hi All Is there any way to support rtl languages now?

kiani37 commented 6 years ago

Hi You promise the rtl problem is resolved in version 4.5. Based on the roadmap you set. But nothing has happened yet.

On Sat, Feb 10, 2018 at 5:20 PM, Navpreet2289 notifications@github.com wrote:

Hi All Is there any way to support rtl languages now?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/19#issuecomment-364656310, or mute the thread https://github.com/notifications/unsubscribe-auth/AantGba7EbM98FZMHFTvtRlAiM4-i5Qyks5tTZ6YgaJpZM4HFSBt .

ShockwaveNN commented 6 years ago

@kiani37 there was never plans for RTL in 4.5 in roadmap. But in current state we have no specific date for RTL, it will be released "when it's done"

kiani37 commented 6 years ago

Thank you, but you see this page.

https://github.com/ONLYOFFICE/DocumentServer/blob/master/Roadmap.md

in part of " Planned for future versions "

On Mon, Feb 12, 2018 at 11:38 AM, Pavel Lobashov notifications@github.com wrote:

@kiani37 https://github.com/kiani37 there was never plans for RTL in 4.5 in roadmap. But in current state we have no specific date for RTL, it will be released "when it's done"

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/19#issuecomment-364851610, or mute the thread https://github.com/notifications/unsubscribe-auth/AantGfpeHrHTVG9BpYCrBhjXtxHpZ_iGks5tT_FsgaJpZM4HFSBt .

medicamin commented 6 years ago

As you might noticed, it is planned for future versionS. They have not clarified which version. It's for future, maybe 4.5, maybe 5, mabe 8!!!

We will be so glad and thankful if developers add RTL as soon as possible. On Feb 17, 2018 10:01 AM, "kiani37" notifications@github.com wrote:

Thank you, but you see this page.

https://github.com/ONLYOFFICE/DocumentServer/blob/master/Roadmap.md

in part of " Planned for future versions "

On Mon, Feb 12, 2018 at 11:38 AM, Pavel Lobashov <notifications@github.com

wrote:

@kiani37 https://github.com/kiani37 there was never plans for RTL in 4.5 in roadmap. But in current state we have no specific date for RTL, it will be released "when it's done"

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/19#issuecomment- 364851610, or mute the thread https://github.com/notifications/unsubscribe-auth/ AantGfpeHrHTVG9BpYCrBhjXtxHpZ_iGks5tT_FsgaJpZM4HFSBt .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ONLYOFFICE/DocumentServer/issues/19#issuecomment-366421174, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ3ARTyop-ndpkKPMlu96fyWokvdW2fJks5tVnJOgaJpZM4HFSBt .

vaheed commented 6 years ago

After 2 years !!!

we need RTL Support

any update?

amitassaraf commented 5 years ago

Please add RTL support for the next release, it is a critical feature for this product.

aiwaah commented 5 years ago

Kindly add the RTL support and arabic language pack. thank you in advance

anton-yurchenko commented 5 years ago

+1

Itay1787 commented 5 years ago

Already added the RTL? onlyoffice is so good software is the only thing that really lacks it! Has anyone added or found a way to add this?

selimb86 commented 5 years ago

Any news for this feature ?

Itay1787 commented 5 years ago

Hey there's some news when it comes in? Many versions have passed since they promised it

zkhaial commented 5 years ago

We are not able to fully migrate. Half of our documents are still in google docs. Any hard dates for RTL support? Please let us know.

Z

ShockwaveNN commented 5 years ago

We announce then RTL will be ready, this is still not a high priority task. You can contact sales@onlyoffice.com to speed up things

zkhaial commented 5 years ago

Is RTL available in a paid version of DocumentServer?

Z

ShockwaveNN commented 5 years ago

@zkhaial no

Itay1787 commented 5 years ago

Is there progress on adding RTL? news? something?

gr8linux commented 5 years ago

More than 400 Million people read and write in Persian and Arabic language , it seems you don't want to missed that. 👍

ospectreo commented 5 years ago

Believe me OnlyOffice is the best

Thanks a lot for your kind feedback. We understand that RTL is very important feature and hope to implement it in the near future.

in the "near future" - does this mean in august of 2158? January 14, 2019 will be 3 years of this issue. THREE YEARS!

ysharbi commented 5 years ago

omg, three years waiting 👎

amiut commented 5 years ago

No RTL after 3 years :D

ItayXD commented 5 years ago

Please add RTL support or let us know what we can do to make that happen

ShockwaveNN commented 5 years ago

@Itay1787 As I said earlier - You can contact sales@onlyoffice.com to speed up things

Elfanar commented 5 years ago

TAKE A STEP TO SOLVE THIS NOW !

Please contribute to solve this issue, over here :

https://www.bountysource.com/issues/29888497-rtl-in-editors

ShockwaveNN commented 5 years ago

Feel free to donate your money to any cause, but please note that this site is not related in any way to us as ONLYOFFICE

samiklah commented 5 years ago

This is the solution :)

This javascript function change the direction of your Editor automatically `function isUnicode(str) { var letters = []; for (var i = 0; i <= str.length; i++) { letters[i] = str.substring((i - 1), i); if (letters[i].charCodeAt() > 255) { return true; } } return false; }

function detectDirection(field) { var val = field.value; if (isUnicode(val)) { field.style.direction = "rtl"; } else { field.style.direction = "ltr"; } } `

to use this function just add onkeyup="detectDirection(this);" to any HTML filed you want to apply auto RTL and LTR

`

`

amitassaraf commented 5 years ago

@samiklah This won't work with languages other than RTL ones and English (not to even talk about emojis and special symbols). Also I am quite sure the developers know how to solve this but they just aren't getting around to it. If you have a solution, submit a PR to onlyoffice. This code snippet currently does not help the users in this thread.

This would be a way to detect RTL correctly, but again, it is not a solution.

function isRTL(s){           
    let ltrChars    = 'A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF'+'\u2C00-\uFB1C\uFDFE-\uFE6F\uFEFD-\uFFFF',
        rtlChars    = '\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC',
        rtlDirCheck = new RegExp('^[^'+ltrChars+']*['+rtlChars+']');

    return rtlDirCheck.test(s);
};
planecore commented 4 years ago

Three and a half years later, still no signs of RTL support... sigh.

ysharbi commented 4 years ago

Not support RTL yet?

iyuvalk commented 4 years ago

Hi,

Do you think that you'll support RTL anytime soon? I believe that most of the relevant code is available from projects like open-office or libreoffice...

It looks like a really good alternative for MS-Office but I won't be able to use it without proper RTL support... )-:

T.I.A