RMMV Help with SumRndmDde Translation Engine Plug-In.

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
Hello everyone!

Here asking for a bit of help in regards to SumRndmDde - Translation Engine – MV Plugin. The plug-in works as it states an a lot of is wonderfull, I have a couple of issue that more or less can be of a problem in a way, the plug in has the next notetag on it.


JavaScript:
<LANGUAGE Translation>
[name]:
[description]:
[message1]:
[message2]:
</LANGUAGE Translation>

The translation works properly until I try to use any kind of text codes even the one chaning the color the \c[x] nulls the following phrase and the text no longer shows up in the translation box. it happens in all of the description boxes, so I can only wirte the description wihtout codes(not so bad even if it'd look plain) and no icon in description(the real problem as I'm using an Icon Caption plugin that works with the Translation Engine) Meaning thet instead of saying Removes \i[x]Poison, I have to remove the \i compeltely

2023-01-30 13_36_53-Database.png2023-01-30 13_38_33-Demonic EXtension Program.png
2023-01-30 13_37_17-Database.png2023-01-30 13_40_00-Demonic EXtension Program.png

So can I aks that someone takes a look at it and see what could be causing this issue?
SumRndm has stopped giving support to his MV plug-ins according to his Discord so if anyone can help, it will really be useful for a lot of people speciallya s this is one of the few easy to use translation plug in.

EDit: Something I had forgotten to tell is that I'm using Yanfly's Message Core Which fourtunetly is still one of the free plug-in

EDIT2: Plug-in has been updated by @gundambison to allow the text codes to work in the description boxes. Belowe I'll include the Link to the Edited Plug-in.

If you use this remember to Credit both the orginal author SumRndmDde and the editor of the plug-in @gundambison.

Edited - Translation Engine
 
Last edited:

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
random suggestion:
try type
\\i
for
\i
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
I just tried that, this happened...

2023-01-31 07_17_20-Demonic EXtension Program - RPG Maker MV.png2023-01-31 07_17_47-Demonic EXtension Program.png

I don't know enough javascript to undestand what's going on, but it seems to be waiting for something to close i guess?
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
10,954
Reaction score
8,828
First Language
English
Primarily Uses
RMMV
My guess is that because SRD uses brackets to delineate the plugin instructions, the text codes that include brackets mess with his parsing (it thinks you're going to say name or description or something, but you don't).

If that's correct, it may require modifying the regex in the plugin.
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
my fault.. I found the "\\" on the json not on the text on RM


work on me.. I'm using spoiler because the image loading issue.. how to use

bSwKQDWcOb.jpg

\i[11] => icon
HCdD5gloXw.jpg
P1ZXpuJILr.jpg
okay.. is just the example
Nu9PqBBUzl.jpg
hRz6SBjK6e.jpg
cmiiw..
chrome_eJcMNUh4GF.jpg
this json taken from data/Translation.json

edit:
* wrong analysis
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
my fault.. I found the "\\" on the json not on the text on RM



edit:
* wrong analysis
It works on message themselves, the issue is when trying to translate the description box for skills/item and maybe even actor's profiles(thought I don't use any text code on those)

2023-01-31 09_31_35-Database.png2023-01-31 09_31_59-Database.png

My guess is that because SRD uses brackets to delineate the plugin instructions, the text codes that include brackets mess with his parsing (it thinks you're going to say name or description or something, but you don't).

If that's correct, it may require modifying the regex in the plugin.
Ok, how can something like that be done? I'm going to be honest here, I know nearly nothing at all about javascript.
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
Is posible.. You zip the game and then we tried it? create new project and copy the translations.json on there then we tried
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
You need to update the js using this link .. backup the original and replace with this
The reason like @ATT_Turan describe. The code using [ ] as separator to search the word. It mean, the reason why the word missing because is found [ ]
003.jpg
I'm using |i( * ) to exchange \i[*]

the updated exchange into this
001a.jpg
result
002.jpg

Any suggestion would be okay
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV

The Icon code is working know!!!!!

2023-01-31 11_44_56-Demonic EXtension Program.png

However... I want to ask if it is now possible to change the color too and what code to use, I tried the one in the img, if not is ok, I can do with just the Icon itself.

Edit: If what @ATT_Turan is easier, that would be better.
 

ATT_Turan

Forewarner of the Black Wind
Regular
Joined
Jul 2, 2014
Messages
10,954
Reaction score
8,828
First Language
English
Primarily Uses
RMMV
Any suggestion would be okay
Wouldn't it be simpler to change the plugin's convention? So that, for example, it's
|name|
|description|
?
Or even using braces, which are less likely to occur in the user-entered text? That way people don't have to remember two different ways to enter text escape codes, they can just keep the established method from the default editor.
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
The Icon code is working know!!!!!

View attachment 252074

However... I want to ask if it is now possible to change the color too and what code to use, I tried the one in the img, if not is ok, I can do with just the Icon itself.

Edit: If what @ATT_Turan is easier, that would be better.
is posible.. I need to update the js code.. actually you can added new code after line 549
JavaScript:
value = value.replace("|c(", "\\c[");
fyi.. I tried on nickname.. is not working (sad)
Wouldn't it be simpler to change the plugin's convention? So that, for example, it's
|name|
|description|
?
Or even using braces, which are less likely to occur in the user-entered text? That way people don't have to remember two different ways to enter text escape codes, they can just keep the established method from the default editor.
good idea.. but I gonna skip that.. Because the code using regex and regex is one of my Kryptonite
index.php

I can explain this.. but I can't updated it because is already too complex?
* auch
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
is posible.. I need to update the js code.. actually you can added new code after line 549
JavaScript:
value = value.replace("|c(", "\\c[");
fyi.. I tried on nickname.. is not working (sad)

good idea.. but I gonna skip that.. Because the code using regex and regex is one of my Kryptonite
I can explain this.. but I can't updated it because is already too complex?
* auch
Something weird happened while I tried to use it, the color changes but there's no way to return the color to normal even using |c(0) at the end of the code, it leaves the color on and it also disables the icons... so...

Also if I try to use the code a second time it doesn't show up at all again.

2023-01-31 14_31_03-Demonic EXtension Program.png

2023-01-31 14_31_26-Database.png
 
Last edited:

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
Wouldn't it be simpler to change the plugin's convention? So that, for example, it's
|name|
|description|
?
Or even using braces, which are less likely to occur in the user-entered text? That way people don't have to remember two different ways to enter text escape codes, they can just keep the established method from the default editor.
Thanks for the idea.. I come with this new idea
Something weird happened while I tried to use it, the color changes but there's no way to return the color to normal even using |c(0) at the end of the code, it leaves the color on and it also disables the icons... so...

Also if I try to use the code a second time it doesn't show up at all again.

View attachment 252086

View attachment 252087
I added other template like this
Code:
<Spanish Translation>
name|||Harold|||
nickname|||Harry|||
profile|||Este es \c[4]el héroe \c[0]de la historia! \i[3]
¡Él derrotará a toda la gramática mala!

</Spanish Translation>
005.jpg
004.jpg
006.jpg
and yap.. still not fully working.. but the \*[*] showing
007.jpg
please tested it.. if Okay... I will clean the code and added how to inside the plugins
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
I switched the plug-in for the one in your link, but when trying to run the game this showed up.
2023-01-31 19_41_07-Demonic EXtension Program.png

2023-01-31 19_46_36-DevTools - chrome-extension___odlameecjipmbmbejkplpemijjgpljce_index.html.png
Seems to be the Yanfly Core?... I no longer know... XD XD XD TT_TT

If I switch back to the previous version it works as before.

Also where should I put the ||| after every name/description, sorry is just that your example was a bit weird, I apologize for the trouble.
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
that's fine.. I tried to use other readable template..
I forgot how to make readable template

please wait for my update.. * pm if I'm done *

Template i gonna use:

[Name]
Description you can add enter
______________
[*]Name
Description you can enter
____________

Any idea for readable template?
 
Last edited:

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
this is the updated plugins.. I'm using template
Code:
<Spanish Translation>
|||params
values
</Spanish Translation>
example:
Code:
<Spanish Translation>
|||name
Harold
|||nickname
Harry
|||profile
Este es \c[4]el héroe \c[0]de la historia! \i[3]
¡Él derrotará a toda la gramática mala!
</Spanish Translation>
10.jpg
the reason I'm using this, to make space for you to write
008.jpg
spanish
09.jpg
english

still the same..
Click here
note:
  • not tested on other tab
  • not tested using \{ \}
  • not tested using special chars. The complex special chars
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
Dude!!!!! Sir!!!!! Master!!!!!!!

You ARE awesome!!!!!!!

2023-02-01 09_59_37-Demonic EXtension Program.png

This is the skill description BTW, so it works in the skill description and shows mutiple colors and icons which is what I needed, I personally don't need any other special commands, I don't know about anyone else though, but for me this seems to be a job well done!!!

Thank you so much, how can I ever repay you?
 

gundambison

Regular
Regular
Joined
Jun 11, 2014
Messages
142
Reaction score
33
First Language
English
Primarily Uses
Your welcome..
I should updated the plugins with new feature/template.
Can you tested again to make sure is working properly? Sometime testing again will show error or something
I will added and inform you the updated version
 

emelian65

Regular
Regular
Joined
Sep 13, 2015
Messages
224
Reaction score
68
First Language
Spanish
Primarily Uses
RMMV
2023-02-01 17_52_26-Demonic EXtension Program.png

So far so good, I was even able to use the Yanfly code.

JavaScript:
\it[x]

And that put the State Icon and the state name on the skill description section.
This is also in an already deployed build.
 

Latest Threads

Latest Posts

Latest Profile Posts

I've been so lazy about doing art but I finally decided to buckle down and get some work done on the party!

aa312ffbcd667933.png

3d554012e96e4526.png
SallyFaceTest.png
Testing the first face in battle!
ScreenShot_9_20_2023_6_58_43.png
been working on my intro off and on for a while. I finally like it lol. it took me redoing it like 4 times to get to this point. I think it set's up things a lot better now.

Forum statistics

Threads
134,683
Messages
1,249,676
Members
177,414
Latest member
Neirean
Top