]> sipb.mit.edu Git - ikiwiki.git/blob - doc/forum/PO_and_RTL_support/comment_7_a3ac2ad8a5e89efae1bbfdc4306678a7._comment
Merge remote-tracking branch 'spalax/calendar-autocreate'
[ikiwiki.git] / doc / forum / PO_and_RTL_support / comment_7_a3ac2ad8a5e89efae1bbfdc4306678a7._comment
1 [[!comment format=mdwn
2  username="smcv"
3  ip="81.100.115.242"
4  subject="comment 7"
5  date="2014-09-17T15:52:36Z"
6  content="""
7 LTR with embedded RTL, or vice versa, sounds like a job for
8 the [[tips/Right-to-left___40__RTL__41___page_text]] tip or
9 something very similar.
10
11 > Maybe the direction setting in the CSS also has other effects
12
13 https://html.spec.whatwg.org/#the-dir-attribute suggests that the
14 `dir` attribute is meant to be sufficient, but perhaps it's overridden
15 by an explict `text-align: left`?
16
17 > most of the time what you actually mean is to reverse the direction:
18 > RTL becomes LTR and vice versa
19
20 I don't think \"I know I am switching between English and Arabic,
21 but I don't know which one I'm currently writing\" is a major use-case :-)
22
23 > an option to have different wiki pages/section with different master
24 > languages
25
26 It sounds as though the po plugin is not really what you want, and
27 you'd be better off with being able to write
28 `\[[!meta lang=ar dir=rtl]]` or something.
29 """]]