sillsdev / sillsdev/XLingPap

in HTML export Arabic bug

Open Beginner friendly
#5 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TeX
Stars
4
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Rendering of Arabic in a td/langData is in the wrong order. The text has no direction:rtl; property so the direction is incorrect.
The text in XLingPap is in a td/langData with @lang set. So looks correctly constructed.

The td in the HTML directly contains the text but has no @lang or anything to attach the CSS to to make it correct.

The transform and the CSS need to be updated. I'd expect a <span lang="ara" to enclose the text from the langData

Then in the CSS: span:lang(ara) {direction:rtl;}

This is not needed for me. I was just compared XLingPap HTML to my HTML and then against the XLingPap PDF export, and noticed the incorrect order.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the HTML export transform and its CSS, focusing on how langData text in td elements is emitted. Enclose the Arabic langData text with a span carrying lang="ara" and add the requested direction rule; done means Arabic displays in the correct right-to-left order in the HTML export.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, html
Domain
internationalization, web-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
62/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.