how to add my own language !?
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.
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.
- shahrzad666
- Newbie
- Posts: 8
- Joined: Fri Feb 28, 2014 4:11 am
- Contact:
how to add my own language !?
hi i'm new here ,and don't know if renpy can support my language .
want to Write script in Persian but everything get messy @_@
plz help :<
want to Write script in Persian but everything get messy @_@
plz help :<
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: how to add my own language !?
I don't know enough about Persian to know if Ren'Py supports it or not.
I'd suggest trying:
But I'm not sure if the Arabic/Hebrew RTL support will work with Persian.
I'd suggest trying:
Code: Select all
init python:
config.rtl = True
style.default.font = "persian-font.ttf"
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- shahrzad666
- Newbie
- Posts: 8
- Joined: Fri Feb 28, 2014 4:11 am
- Contact:
Re: how to add my own language !?
tnx alot <3 it's worked TWTPyTom wrote:I don't know enough about Persian to know if Ren'Py supports it or not.
I'd suggest trying:
But I'm not sure if the Arabic/Hebrew RTL support will work with Persian.Code: Select all
init python: config.rtl = True style.default.font = "persian-font.ttf"
- shahrzad666
- Newbie
- Posts: 8
- Joined: Fri Feb 28, 2014 4:11 am
- Contact:
Re: how to add my own language !?
XD i'm a zombie
HI
finally i found sometime to continue my works
i can work with arabic ver but i got a question , how can i make the text to be right to left ?
HI
finally i found sometime to continue my works
i can work with arabic ver but i got a question , how can i make the text to be right to left ?
- PyTom
- Ren'Py Creator
- Posts: 16096
- 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: how to add my own language !?
Right above, set config.rtl = True.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
Software > Drama • https://www.patreon.com/renpytom
- shahrzad666
- Newbie
- Posts: 8
- Joined: Fri Feb 28, 2014 4:11 am
- Contact:
Re: how to add my own language !?
http://s5.picofile.com/file/8158544992/Capture.JPG
but it is still on a left sight :<
but it is still on a left sight :<
Re: how to add my own language !?
You just need to align it to the right. Take a look at the documentation/window setups in cookbook.
- asatiir
- Regular
- Posts: 86
- Joined: Tue Oct 01, 2013 6:04 pm
- Completed: Within the Walls (Twine)
- Projects: Roses Will Rise
- Organization: Asatiir's Tales
- Skype: asatiir
- itch: asatiir
- Location: Dubai, UAE
- Contact:
Re: how to add my own language !?
I tried doing that with the latest version of renpy, depending on the font I'm using it comes broken in various ways. Is there a new method in 6.99 or am I doing something wrong?PyTom wrote:I don't know enough about Persian to know if Ren'Py supports it or not.
I'd suggest trying:
But I'm not sure if the Arabic/Hebrew RTL support will work with Persian.Code: Select all
init python: config.rtl = True style.default.font = "persian-font.ttf"
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot]