Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Add proper support for right-to-left languages

Open gmsecrieru opened this issue 11 years ago • 9 comments

For example: screen shot 2015-10-22 at 18 33 47

gmsecrieru avatar Oct 22 '15 20:10 gmsecrieru

@shahar3012 can you still help us with that?

engelgabriel avatar Oct 25 '15 13:10 engelgabriel

@engelgabriel What kind of help do you need?

fduraibi avatar Nov 30 '15 15:11 fduraibi

@fduraibi Test the system in a right-to-left language and tell us if there is anything broken o not property aligned.

engelgabriel avatar Nov 30 '15 15:11 engelgabriel

Here is the result from the first test:

~~1- Fix direction of the user status, should be rtl instead:~~ FIXED

.account-box .options > .wrapper {
    direction: ltr;
}

~~2- The markdown formatting-tips is not aligned correctly and covers the "user typing" status, should be aligned to the left side~~ FIXED ~~3- Upload Icon need to be flipped~~ FIXED ~~4- The text area Message should be on the right side (dir="auto" need to be changed to dir="rtl", since auto keeps it on the left even when using Arabic word instead of Message)~~ FIXED ~~5- The flex-tab-bar is totally missing in Arabic interface~~ FIXED ~~6- Allow using Arabic (non-English) to display names of users and rooms!!~~ Can be done using UTF8 regex from Admin menu

rocketchat-bug4

fduraibi avatar Nov 30 '15 17:11 fduraibi

~~7- Fix alignment of message starring:~~ FIXED rocketchat-bug5

fduraibi avatar Nov 30 '15 17:11 fduraibi

~~8- Other fixes need to be done in the Administration pages, e.g. room management:~~ FIXED

rocketchat-bug7

  • Missing name is a bug that happened after I renamed one of the rooms. The room was created with an english name, then I enabled using Arabic characters in the UTF8 regex, renamed the room to an arabic name, it accepted the name but it disappeared! (see picture below also) rocketchat-bug8
  • This is on a fresh installed server with latest updates

fduraibi avatar Dec 01 '15 20:12 fduraibi

All of the listed problem are fixed in https://github.com/RocketChat/Rocket.Chat/pull/1538 or https://github.com/RocketChat/Rocket.Chat/pull/1569

Except the last problem of missing room name, but that is more of a general bug and doesn't seem to be RTL related.

@engelgabriel I suggest closing this issue.

fduraibi avatar Dec 04 '15 00:12 fduraibi

Does the room name goes missing only on after renaming? If you create it properly it shows ok, right?

engelgabriel avatar Dec 04 '15 10:12 engelgabriel

Closed, and the remaining issue was created https://github.com/RocketChat/Rocket.Chat/issues/1571

engelgabriel avatar Dec 04 '15 12:12 engelgabriel