Skip to content

Fixes for RTL Languages #246

@techana

Description

@techana
  1. Tags at the end of a page are aligned to the right in LTR langauges, such as English. This implies they should be aligned to the left in RTL languages, such as Arabic. To fix this, edit "style.css" as follows:
-  text-align: right;
+  text-align: end;
  1. If an LTR page shows two tags at the bottom, these two tags are separated by a comma ", ". But for RTL languages, the two tags are separated with an empty space only and the comma appears after the second tag! To fix this, edit "helper.php" as follows:
-        return implode(','.DOKU_LF.DOKU_TAB, $links);
+        return implode(', '.DOKU_LF, $links);
  1. When the user clicks on a tag and is directed to the showtag page prepared by the PageList plugin, the phrase "TAG" always appears in English regardless of the wiki language. Although, the correct translation for "TAG" is included in "lang.php" files under "lang" folder.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions