[Solved] "Cannot Launch Project" while generating translations

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
User avatar
Karrion
Regular
Posts: 73
Joined: Fri Jan 18, 2019 8:33 pm
Projects: Murder on the Marine Express
Organization: 1564 Studio
itch: 1564-studio
Contact:

[Solved] "Cannot Launch Project" while generating translations

#1 Post by Karrion »

Hi! This is my first post so I hope I don't do anything wrong on my first time. Anyway, on to the topic.

I've been researching a bit on the translation side of the engine and I tried to generate an "empty" translation file to tinker with it a bit to know how much of it requires programming or if I can simply hand the files to the translator and tell him "Just write the new lines here", and that's it. I used the project "the_question" that comes with the SDK and tried to generate an "empty" translation file but got the error that "Cannot Launch Project".

The traceback.txt says the following:

I'm sorry, but an uncaught exception occurred.

After initialization, but before game start.
Exception: Language 'spanish' does not have any translations.

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\bootstrap.py", line 313, in bootstrap
renpy.main.main()
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\main.py", line 513, in main
run(restart)
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\main.py", line 102, in run
if not renpy.arguments.post_init():
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\arguments.py", line 287, in post_init
return commands[command]()
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\translation\extract.py", line 67, in extract_strings
extract_strings_core(language, args.destination, args.merge, args.force)
File "C:\Users\karri\Downloads\renpy-7.1.0-sdk\renpy\translation\extract.py", line 31, in extract_strings_core
raise Exception("Language %r does not have any translations." % language)
Exception: Language 'spanish' does not have any translations.

Windows-8-6.2.9200
Ren'Py 7.1.3.1092
The Question Ren'Py 7 Edition
Sat Jan 19 01:26:18 2019


Which I don't really get because of course no translation exists, that's why I want to generate it :/ Maybe I selected some option wrong on the menu?

I used these options: https://i.imgur.com/LkhuAma.png and pressed Extract String Translations.

Thanks in advance for your help :)
Last edited by Karrion on Fri Jan 18, 2019 9:16 pm, edited 1 time in total.
1564 Studio, an indie studio dedicated to developing mystery VNs!
Follow us on Twitter for updates on our projects!

Image

Check out our current project, just released on PC, Android, Switch, XBox ONE/Series S/X and PS4/5!
Also available in Spanish, English, French and Japanese!

Image

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: "Cannot Launch Project" while generating translations

#2 Post by Remix »

Press Generate Translations

tbh, you'd do lots better by doing Create New Project (which has 2 lines of dialogue as default) and doing Generate Translations in that.
It basically creates a file that says:

Code: Select all

# TODO: Translation updated at 2019-01-19 01:04

# game/script.rpy:27
translate german start_a170b500:

    # e "You've created a new Ren'Py game."
    e "" # <------ this is where your translator does their thing, the above is the None/default language

# game/script.rpy:29
translate german start_f41f55d7:

    # e "Once you add a story, pictures, and music, you can release it to the world!"
    e ""
Translation files are stored in ./game_folder/tl/{language}/ btw
Frameworks & Scriptlets:

User avatar
Karrion
Regular
Posts: 73
Joined: Fri Jan 18, 2019 8:33 pm
Projects: Murder on the Marine Express
Organization: 1564 Studio
itch: 1564-studio
Contact:

Re: "Cannot Launch Project" while generating translations

#3 Post by Karrion »

ffs, I didn't realise that was a button, I feel so bad now >_< Thank you so much
1564 Studio, an indie studio dedicated to developing mystery VNs!
Follow us on Twitter for updates on our projects!

Image

Check out our current project, just released on PC, Android, Switch, XBox ONE/Series S/X and PS4/5!
Also available in Spanish, English, French and Japanese!

Image

User avatar
Remix
Eileen-Class Veteran
Posts: 1628
Joined: Tue May 30, 2017 6:10 am
Completed: None... yet (as I'm still looking for an artist)
Projects: An un-named anime based trainer game
Contact:

Re: [Solved] "Cannot Launch Project" while generating translations

#4 Post by Remix »

Not a problem at all, just glad you are finding your way.
Welcome to Ren'Py
Frameworks & Scriptlets:

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Google [Bot], IrisColt