apertium / apertium/apertium-html-tools

Alignment of languages in dropdown

Open
#127 15 comments 0 reactions 0 assignees View on GitHub
enhancement in-progress
Dominant language
TypeScript
Stars
41
Forks
93
PR merge metrics
No merged PRs in 30d

Description

In the current version, all the languages (whether `ltr` or `rtl` appear all on one end - either left or right depending on the `html dir` of the page. Would it make more sense if all the `ltr` lanaguages appear on left end of dropdown (irrespective of language) and similar for `rtl` languages? The following screenshots describe the issue in more detail:

**Current Version**
![screen shot 2017-03-24 at 1 29 33 am](https://cloud.githubusercontent.com/assets/8894636/24267783/735fc2a4-1031-11e7-9990-a0bb6799e5ba.png)

**Proposed Version** - colors for highlighting
![screen shot 2017-03-24 at 1 24 13 am](https://cloud.githubusercontent.com/assets/8894636/24267795/7fb0bb26-1031-11e7-9a0a-7933b810aeb2.png)
As we can see, the **`rtl` languages (in red)** appear from **right to left** starting from the right end margin in the dropdown.

Thus, the langauges in the dropdown should be independent of the parent html dir and follow its own dir on any `index.lang.html` page.
Does this feature make sense semantically?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.