renpy.config.rtl = True
However, it seems that as long as this is true, the {w} tag causes an error in all languages (Farsi, English, etc):
Code: Select all
While running game code:
File "game/1_diya.rpy", line 169, in script
Hayden "I'm right here!{w=0.35} The evil dragon!"
TypeError: Argument 's' has incorrect type (expected unicode, got str)
Code: Select all
File "C:\Users\Brianna\Documents\Programs\renpy-7.3.5-sdk\renpy\text\text.py", line 612, in __init__
p, rtl = self.rtl_paragraph(p)
File "C:\Users\Brianna\Documents\Programs\renpy-7.3.5-sdk\renpy\text\text.py", line 1205, in rtl_paragraph
s, direction = log2vis(s, direction)
TypeError: Argument 's' has incorrect type (expected unicode, got str)
Windows-8-6.2.9200
Ren'Py 7.3.5.606
Is this a known bug, or is there a workaround for this? Otherwise, I'll have to manually remove the {w} tags from the game and all its translations, which is a lot of work...