You are here: Foswiki>Tasks Web>Item12232 (22 Feb 2015, GeorgeClark)Edit Attach

Item12232: right-to-left Text direction Subskin

pencil
Priority: Enhancement
Current State: Confirmed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: FoswikiUsability, I18N, PatternSkin
Branches:
Reported By: NimaHamidian
Waiting For:
Last Change By: GeorgeClark
I wanted to translate FOSWIKI to Persian, So we need a right-to-left text-direction option in the editor. This is answer of FOSWIKI member to my request

We haven't done this before, so it would require you to make a subskin with additional CSS support. Or create a Task and hope someone will pick it up. I think this is needed:
  • Create a preference TEXT_DIRECTION that can be set to rtl.
  • Let the template write TEXT_DIRECTION in the html tag next to lang.
  • Add CSS with these kind of rules:
html[dir='rtl'] .somediv {
/* float right instead of left and vice versa */
}
-- ArthurClemens - 30 Oct 2012

-- NimaHamidian - 11 Nov 2012

 

ItemTemplate edit

Summary right-to-left Text direction Subskin
ReportedBy NimaHamidian
Codebase
SVN Range
AppliesTo Extension
Component FoswikiUsability, I18N, PatternSkin
Priority Enhancement
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release01x01Checkins
Topic revision: r3 - 22 Feb 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy