Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support bidirectional text (ltr and rtl) [WIP] #143

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

stefankoegl
Copy link
Member

@stefankoegl stefankoegl commented Aug 3, 2018

To support bidirectional text in the UI (as opposed to content such as podcast names or descriptions), we need to figure out the currently used language in the template (see docs).

{% get_current_language as LANGUAGE_CODE %}

For some (currently still unknown reasons), this always returns en when in the context of the template. In the view (eg wtih django.utils.translation.get_language) the correct language is returned.

I have asked on Stack Overflow about this issue (https://stackoverflow.com/q/51641412/693140), but have not been able to figure it out.

Once this is fixed we can create a rtl-stylesheet that is conditional on the language.

See also

@SiqingYu SiqingYu removed the blocker label Jan 28, 2020
@SiqingYu SiqingYu self-requested a review January 28, 2020 02:39
@SiqingYu SiqingYu removed their request for review February 16, 2020 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants