- This topic has 9 replies, 3 voices, and was last updated 4 years, 4 months ago by NailBuster.
-
AuthorPosts
-
April 22, 2020 at 12:04 pm #174630
Hello everyone,
I work with a translation of all text in PinUP Popper. I have successfully translated all
strings in the files PUPMenuScriptThemeOptions.txt and PuPMenuScriptSysLanguage.txtHowever, there are some short system strings that are still not done. I attach a screenshot
of a example text with the string ‘Go Back’. I found this string in the file PuPMenuScript.pup
on the lines 1414 and 1809. I know, it says I shouldn’t edit this file, but I can’t find this
string anywhere else. When I edit this string on these two lines, restart PinUP Popper, then
the old string still appear.So my question is, are there anybody here who knows how to translate these last strings?
For example, this ‘Go Back’ string. What am I missing?You need to login in order to like this post: click here
April 22, 2020 at 12:41 pm #174636i think some of those text items are ‘fixed’.
but you should in the .pup (in script files do a simple check for system icons like that)
something like if (js.gamedisplay==”GO BACK”) { js.gamedisplay=”translated version”;}
you might need to put that in a few spots or maybe just in the updatemenu function in the pup.
let me know how it goes….
You need to login in order to like this post: click here
April 22, 2020 at 1:00 pm #174638Thanks!
I don’t know if I understood you 100% correctly, but I did this:I did this on both rows this string occurs. PinUP Popper starts, but
now no text is displayed anywhere. Something is wrong. What am I missing?You need to login in order to like this post: click here
April 22, 2020 at 1:52 pm #174646Hello everyone,
I work with a translation of all text in PinUP Popper. I have successfully translated all
strings in the files PUPMenuScriptThemeOptions.txt and PuPMenuScriptSysLanguage.txt
However, there are some short system strings that are still not done. I attach a screenshot
of a example text with the string ‘Go Back’. I found this string in the file PuPMenuScript.pup
on the lines 1414 and 1809. I know, it says I shouldn’t edit this file, but I can’t find this
string anywhere else. When I edit this string on these two lines, restart PinUP Popper, then
the old string still appear.
So my question is, are there anybody here who knows how to translate these last strings?
For example, this ‘Go Back’ string. What am I missing?
The only things you should be editing are:
PuPMenuScriptSysLanguage.txt
PUPMenuScriptThemeOptions.txt
That’s ALL you can edit for change of language or Custom Text,etc.
Do NOT edit PuPMenuScript.pup as that is all the fallback settings and other functions that are not meant to be changed. You can screw things up!
If you have changed all the options in PuPMenuScriptSysLanguage.txt and PUPMenuScriptThemeOptions.txt to a different language… then you have done everything you can. There’s nothing else to edit and nothing else I can point you to change.
I think it’s great you are using this feature! I worked hard to add in all these customization options and I never hear back if anyone ever uses it!
You need to login in order to like this post: click here
April 22, 2020 at 2:05 pm #174647Hi Terry,
Nice to talk to you, your videos have helped me a lot. Thanks for them!
I even had to change the font to one that supports three Swedish special characters, and therefore also all
X coordinates. So I’ve learned these two PUPMenuScriptThemeOptions.txt and PuPMenuScriptSysLanguage.txt files now.So you mean there is no way for me to translate these strings, such as the ‘Go Back’ string in the screenshot?
I mean, only the text that appears on the screen. No way?You need to login in order to like this post: click here
April 22, 2020 at 2:10 pm #174649Hi Terry,
Nice to talk to you, your videos have helped me a lot. Thanks for them!
I even had to change the font to one that supports three Swedish special characters, and therefore also all
X coordinates. So I’ve learned these two PUPMenuScriptThemeOptions.txt and PuPMenuScriptSysLanguage.txt files now.
So you mean there is no way for me to translate these strings, such as the ‘Go Back’ string in the screenshot?
I mean, only the text that appears on the screen. No way?
Everything for Popper functions for changeable text I could add was included in PuPMenuScriptSysLanguage.txt such as
// When “GoBack” is highlighted
GoBack_Zone3P = “” ;
GoBack_Zone4P = “” ;Beyond that, I think the rest were fixed and I couldn’t find a way to change them.
You need to login in order to like this post: click here
1 user thanked author for this post.
April 22, 2020 at 2:14 pm #174650Okay, then I know. I’ll survive.
Thanks for the help.You need to login in order to like this post: click here
April 22, 2020 at 4:29 pm #174675here’s some help, but you’ll have to figure the rest out. notice i added a new labelset (3rd line with custom stuff). so you just need to figure out which zone you want to change there and other places too.
`/// When “GoBack” is highlighted
if (js.GameDisplay == “Go Back”){
PuPlayer.LabelSet(pGameInfo,”Text_Zone3F”,GoBack_Zone3P.substr(0,MaxCharSystem_Zone3), 1,”{‘mt’:2, ‘xpos’:”+Zone3F_xpoz.toString()+”,’ypos’:”+Zone3F_ypoz.toString()+” }”);
PuPlayer.LabelSet(pGameInfo,”Text_Zone4F”,GoBack_Zone4P.substr(0,MaxCharSystem_Zone4), 1,”{‘mt’:2, ‘xpos’:”+Zone4F_xpoz.toString()+”,’ypos’:”+Zone4F_ypoz.toString()+” }”);
PuPlayer.LabelSet(pGameInfo,”Text_Zone1F”,”CUSTOM HERE STUFF”, 1,”{‘mt’:2, ‘xpos’:”+Zone1F_xpoz.toString()+”,’ypos’:”+Zone1F_ypoz.toString()+” }”);
}`You need to login in order to like this post: click here
April 23, 2020 at 1:09 pm #174817Thanks, NailBuster!
I added the third line and it worked. The example text “CUSTOM HERE STUFF” appears in the right place.
However, the original text “Go Back” is also displayed at the same place. Should I hide the original
text in some way or what do you mean?I’m no expert on JavaScript so excuse me if I seem stupid.
You need to login in order to like this post: click here
April 23, 2020 at 1:19 pm #174820not too sure… as i didn’t write the theme/script for it. perhaps you need to find update a different label,
notice my example showed ”Text_Zone1F” and used ”Zone1F_xpoz” as well.
maybe the original GO BACK is updating a different “Text_Zone2F” for example… just need to play around with it i guess.
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.