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
[Solved] "Cannot Launch Project" while generating translations
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.
- Karrion
- Regular
- Posts: 74
- 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
Last edited by Karrion on Fri Jan 18, 2019 9:16 pm, edited 1 time in total.
- 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
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:
Translation files are stored in ./game_folder/tl/{language}/ btw
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 ""
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
- Karrion
- Regular
- Posts: 74
- 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
ffs, I didn't realise that was a button, I feel so bad now >_< Thank you so much
- 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
Not a problem at all, just glad you are finding your way.
Welcome to Ren'Py
Welcome to Ren'Py
Frameworks & Scriptlets:
- Speech Bubble dialogue system
- Multiple Notify with ATL and history
- (WIP) Radial Masking - needs updating to use Shader
- 7.4 - Smooth Tinting using ATL and matrixcolor
- Several other repositories there too
Who is online
Users browsing this forum: Google [Bot], Karrion