Right to Left and MiddleEastern Language

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
Milad
Newbie
Posts: 3
Joined: Thu Dec 20, 2012 4:30 am
Contact:

Right to Left and MiddleEastern Language

#1 Post by Milad » Sun Mar 31, 2013 3:24 pm

Hi,
I want to know how to configure Renpy for support Right to Left Language and show Unicode Font
and Can I Configure some how everything show from Right of Screen
mosly I want find a way for support our language and right to left
Thanks

User avatar
PyTom
Ren'Py Creator
Posts: 15893
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Right to Left and MiddleEastern Language

#2 Post by PyTom » Sun Mar 31, 2013 5:30 pm

First off, you need to do:

Code: Select all

init python:
     config.rtl = True
You'll then want to set the font to something that supports your language. After that, it's a matter of using the style system to xalign and text_align things to the right, as necessary to make things look good.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom

Milad
Newbie
Posts: 3
Joined: Thu Dec 20, 2012 4:30 am
Contact:

Re: Right to Left and MiddleEastern Language

#3 Post by Milad » Fri Apr 12, 2013 1:41 pm

PyTom wrote:First off, you need to do:

Code: Select all

init python:
     config.rtl = True
You'll then want to set the font to something that supports your language. After that, it's a matter of using the style system to xalign and text_align things to the right, as necessary to make things look good.
thanks for help
It's all need to do?
We try show this topic to someone who know about python and fix this problem
thanks you so much

Post Reply

Who is online

Users browsing this forum: Google [Bot]