Skip to content

Conversation

@jotoeri
Copy link
Member

@jotoeri jotoeri commented Nov 2, 2020

Support rtl-languages:

  • direction: rtl defined within appLanguages-Object
  • Translation-Script now also dynamically inserts the corresponding CSS
  • Code-Elements, that are always in English are kept ltr, but aligned right.

-> PR currently breaks index-page, this needs to be done separately, to include the index-page into the templates.

@akamfoad Can you have a look on here? Does this look properly? The right-align of code-elements seems proper to me, but is this typical usage for such texts in rtl? -> Currently only visible on first challenge, i'll now start to insert the divs on other challenges...

@jotoeri jotoeri added enhancement New feature or request translations Concerns app-translations labels Nov 2, 2020
@jotoeri jotoeri added this to the 5.1 milestone Nov 2, 2020
@jotoeri jotoeri linked an issue Nov 2, 2020 that may be closed by this pull request
@jotoeri jotoeri mentioned this pull request Nov 2, 2020
2 tasks
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
Co-authored-by: Akam Foad <akamfoad@users.noreply.github.com>
@jotoeri jotoeri marked this pull request as ready for review November 2, 2020 19:28
Co-authored-by: Akam Foad <akamfoad@users.noreply.github.com>
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
@jotoeri
Copy link
Member Author

jotoeri commented Nov 2, 2020

Hm, should be good to go, i think. Anything you miss, @akamfoad?

(Except index-page naturally, but that has different origin, so will be a followup-PR...)

@jotoeri jotoeri mentioned this pull request Nov 2, 2020
Copy link
Contributor

@akamfoad akamfoad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked the PR and it seems pretty good in terms of what we discussed.
Good job, and thanks @jotoeri

@jotoeri jotoeri merged commit 87fd8ef into main Nov 3, 2020
@jotoeri jotoeri deleted the fix/rtl_languages branch November 3, 2020 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request translations Concerns app-translations

Development

Successfully merging this pull request may close these issues.

RTL languages doesn't render correctly

2 participants