Translating "The Missing Tickets" into Japanese

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
Recca Phoenix
Veteran
Posts: 230
Joined: Tue Jan 23, 2007 3:39 pm

Translating "The Missing Tickets" into Japanese

#1 Post by Recca Phoenix » Thu Aug 09, 2007 8:10 pm

I don't know how far this project will go, but I want to at least try it, for both the Japanese gamers and for those of us wanting to practice our Japanese.
I ran across a problem when trying to localize the game according to the guide on renpy.org

Code: Select all

SyntaxError: invalid syntax (line 6)

While compiling python block starting at line 2 of /Applications/renpy-5.6.7/The_Missing_Tickets/game/japanesesupport.rpy.
the "japanesesupport.rpy" file is the one copied from the site.
Any idea what to fix here?

Recca Phoenix
Veteran
Posts: 230
Joined: Tue Jan 23, 2007 3:39 pm

Re: Translating "The Missing Tickets" into Japanese

#2 Post by Recca Phoenix » Thu Aug 09, 2007 8:46 pm

I have another translation-related question as well.
When a character speaks, do you have to put a little "u" before it if it's in Japanese?
i.e.

Code: Select all

##normal
a "Yes"
##japanese
a u"はい"
or does it convert to unicode automatically?

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: Translating "The Missing Tickets" into Japanese

#3 Post by PyTom » Thu Aug 09, 2007 8:48 pm

1) Bug in Ren'Py. Will fix in next version due out ASAP.

2) No, you only have to put the u in front of python strings. Ren'Py automatically uses unicode.
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

Post Reply

Who is online

Users browsing this forum: No registered users