Problem with imagemap translation

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
Ananda1985
Newbie
Posts: 4
Joined: Mon Jan 08, 2018 12:01 pm
Contact:

Problem with imagemap translation

#1 Post by Ananda1985 » Mon Jan 08, 2018 12:15 pm

Hello.
I was looking to see if someone asked in the past but the filter does not work and I have to manually search the list of questions.

I was able to translate all the lines of the game and the quick menu. The option in "preferences" of language change works. The problem now are the image maps of the main menu and options ... what do you need to do exactly for that?

I have modified the screens with the other language (images in English to Spanish) and I have placed them in the folder of that language. But something is missing because it does not change when the language is activated.

User avatar
Donmai
Eileen-Class Veteran
Posts: 1729
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question
Projects: Slumberland
Location: Brazil
Contact:

Re: Problem with imagemap translation

#2 Post by Donmai » Mon Jan 08, 2018 2:42 pm

You need to replicate the folder structure inside the tl folder. For example, if the original imagemaps are in, say, game/images/ui/ then you should put your translated imagemaps in game/tl/spanish/images/ui/.
https://www.renpy.org/doc/html/translat ... anslations
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Ananda1985
Newbie
Posts: 4
Joined: Mon Jan 08, 2018 12:01 pm
Contact:

Re: Problem with imagemap translation

#3 Post by Ananda1985 » Mon Jan 08, 2018 3:04 pm

I tried that and it still does not change. It is not necessary to modify absolutely nothing else ?. Can the images have the same name?

Ananda1985
Newbie
Posts: 4
Joined: Mon Jan 08, 2018 12:01 pm
Contact:

Re: Problem with imagemap translation

#4 Post by Ananda1985 » Mon Jan 08, 2018 3:06 pm

Should the 3 images be placed in the tl / spanish folder? (ground, idle and hover)

Ananda1985
Newbie
Posts: 4
Joined: Mon Jan 08, 2018 12:01 pm
Contact:

Re: Problem with imagemap translation

#5 Post by Ananda1985 » Mon Jan 08, 2018 3:15 pm

I changed several things and now it works but it seems that I had written something wrong. I'm going to see what the problem was exactly because I'm not sure: P but the good news is that it works. Thank you

User avatar
Donmai
Eileen-Class Veteran
Posts: 1729
Joined: Sun Jun 10, 2012 1:45 am
Completed: Toire No Hanako, Li'l Red [NaNoRenO 2013], The One in LOVE [NaNoRenO 2014], Running Blade [NaNoRenO 2016], The Other Question
Projects: Slumberland
Location: Brazil
Contact:

Re: Problem with imagemap translation

#6 Post by Donmai » Mon Jan 08, 2018 10:45 pm

Sorry for not answering before. I'm glad to know it's working now. Yes, the files should have the same name, and you need all bitmap states there (ground, idle and hover) replicated inside the tl/spanish folder.
Image
No, sorry! You must be mistaking me for someone else.
TOIRE NO HANAKO (A Story About Fear)

Post Reply

Who is online

Users browsing this forum: Rinzamakani