Tool RPGM SLR Translator - Offline JP to EN Translation for RPG Maker VX, VX Ace, MV, and MZ

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
I guess we need to find someone bored enough to feed SugoiV4 hundreds of Japanese texts with and without ~ at the end, comparing the ones that work, to find out whether or not Sugoi does actually adjust the "tone" of the text in a positive way, or if it basically just ignores it.
 

fantasmic

Member
Modder
Nov 3, 2021
391
934
The main game I'm working on has a lot of sentences ending in ~, so I got curious and decided to run them through Sugoi and see if there was any difference. My sample size was pretty small (like, 20 instead of hundred), but I had some additional context since I know the tone of the game/characters.

For the most part, there wasn't any noteworthy difference. The majority of lines ending ~ were small things like "Beautiful~" so there isn't much room for context to really matter. Here's a small selection of lines which were different based on whether I included the ~ or not:
You don't have permission to view the spoiler content. Log in or register now.

Based on what I saw and memories of ~ use in manga, I think escaping and re-adding the ~ would be best for both avoiding errors and translation clarity.
 
  • Like
Reactions: Shisaye

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
The main game I'm working on has a lot of sentences ending in ~, so I got curious and decided to run them through Sugoi and see if there was any difference. My sample size was pretty small (like, 20 instead of hundred), but I had some additional context since I know the tone of the game/characters.

For the most part, there wasn't any noteworthy difference. The majority of lines ending ~ were small things like "Beautiful~" so there isn't much room for context to really matter. Here's a small selection of lines which were different based on whether I included the ~ or not:
You don't have permission to view the spoiler content. Log in or register now.

Based on what I saw and memories of ~ use in manga, I think escaping and re-adding the ~ would be best for both avoiding errors and translation clarity.
Hm... I'm not entirely convinced by the re-adding part though.
Are you sure the average person is actually getting a benefit from seemingly random sentences having ~ at the end?
I mean I think everyone understands stuff like heart emojis, but I'm not sure how many people see a meaning in ~.
 

Entai2965

Member
Jan 12, 2020
149
422
Are you sure the average person is actually getting a benefit from seemingly random sentences having ~ at the end?
It is a more accurate translation with ~ at the end if it was present in the source. There is no point in adding translation errors needlessly. If the message is not conveyed accurately, then it is the writer or reader's fault. The translator should not interfere in that process needlessly since attempting to convert or later the meaning is too subjective.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
It is a more accurate translation with ~ at the end if it was present in the source. There is no point in adding translation errors needlessly. If the message is not conveyed accurately, then it is the writer or reader's fault. The translator should not interfere in that process needlessly since attempting to convert or later the meaning is too subjective.
But it has no inherent meaning in English because it is not an English character.
To translate it accurately I would have to adjust the tone of the translation instead, but apparently Sugoi wont.
To keep them in the translation is basically asking to purposely include grammatical errors.
 
Last edited:

Entai2965

Member
Jan 12, 2020
149
422
But it has no inherent meaning in English because it is not an English character.
To translate it accurately I would have to adjust the tone of the translation instead, but apparently Sugoi wont.
To keep them in the translation is basically asking to purposely include grammatical errors.
If there was a grammar error in the source, then it should be in the translation too.

If you can't make sense of it, just leave it alone. There is no point in altering it. That is biasing the translation unnecessarily.

~ is basically an emote. Just leave it alone. The half-width/normal version of it is ~ . It is not an actual japanese character. It is just a thing some people add at the end of their sentences. ~ at the end is done in English too sometimes to convey the same meaning. If that meaning is lost, that is an issue between the speaker and the listener. The translator should not be involved there.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
If there was a grammar error in the source, then it should be in the translation too.

If you can't make sense of it, just leave it alone. There is no point in altering it. That is biasing the translation unnecessarily.
If I don't specifically escape it, SugoiV4 will always remove it from the output.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
Why when i use translate batch with google or Bing is slow? Its stuck on generating indexes
All MTL options besides "SLR" and to a lesser extend "Red Google" are just meant as a second opinion backup for individual cells.
The batch translator isn't really meant to work with them.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
I've decided I will not escape individual Japanese characters at all, ever.
I made more tests with Japanese punctuation and while the crashes are annoying, it seems pretty dumb to completely remove a certain type of context for the AI (which might not even be SugoiV4 forever) just to avoid 10 broken cells in a 10000 cell project, which are detected by the error system and reported to the user.

I will also revert some of the changes in 1.077 and instead only escape the non Japanese second half of the double punctuation. (!?,.)

If someone wants to handle that differently they can simply add it to the escaper themselves.
 
Last edited:

Games & Games

Active Member
May 7, 2023
609
376
Best Mascot Ever.

Edit:
SLR Translator has a lot of optimizations based around Japanese to English translation + the Sugoi Offline Translator v4.0 NMT model. The Sugoi Offline Translator v4 NMT model is included in Sugoi Toolkit v6-v8+.

Using SLR Translator in its intended configuration requires:
1) The Sugoi Offline Translator v4.0 model in either or in .
2) Software that can run that model on either the CPU or GPU.

The PyTorch/Fairseq/original version of the model and a small flask server to run it are available from the Official Toolkit (~6.5+ GB), but FOSS alternatives are also available here for convenience, reduced size, better performance, improved compatibility, added cache, added UI, transparency, stability, etc.

I went ahead and bundled everything together in a Sugoi-Repackage to bootstrap the Sugoi Offline Translator v4.0 NMT model + SLR Translator as fast, as clearly, and as reliably as possible. The Sugoi-Repackage is already included under AdditionalTools.7z\apps\Sugoi-Repackage-CPU in the OP. Just double click on the .bat to set up the software and then add the CTranslate2 format model to the correct folder to begin using SLR Translator right away.

You don't have permission to view the spoiler content. Log in or register now.

Para obter notas mais detalhadas sobre o Sugoi-Repackage, consulte o , expanda o pequeno resumo abaixo, e também leia isto.

You don't have permission to view the spoiler content. Log in or register now.

Edit2: This thread is to discuss SLR Translator. To discuss the repackage, please use the repackage or the Sugoi thread.
Hello, how are you?

There isn't a video explaining it or a step by step with photos to help you, because I'm a bit of a layman, but I also liked this translator much more than translator ++, it's much more practical and easier to use, now I'm just trying to learn how to use SLR, because it's translating, but it's very slow.

Ohh and another question: in which folders do I have to place the Additional Tools files within SLR Translator?
 

Games & Games

Active Member
May 7, 2023
609
376
Hello!

I wonder why this happened as this file inside the data folder, which I placed for SLR Translator in these places was supposed to have game codes or was it supposed to have some phrase that the Npc or main character of the game spoke?

Sem título.png
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
Hello!

I wonder why this happened as this file inside the data folder, which I placed for SLR Translator in these places was supposed to have game codes or was it supposed to have some phrase that the Npc or main character of the game spoke?

View attachment 3856360
I'm not sure I understand.

Did you already press the "prepare for batch translation" button?
Those cells do not look like they were correctly tagged, yet.
I do not think they should be translated.

It's the red button left of the blue batch translation button.
 

lalatina477

Newbie
Jun 26, 2020
23
4
Does it stay that way if you press the green "fix cells and check for errors" button?
If that is the case please send me the full contents of the cell so I can fix it. (Because then it's an escaper error and I need the wrongly escaped characters.)
ohh finally translated, thank you
 

Games & Games

Active Member
May 7, 2023
609
376
I'm not sure I understand.

Did you already press the "prepare for batch translation" button?
Those cells do not look like they were correctly tagged, yet.
I do not think they should be translated.

It's the red button left of the blue batch translation button.
I haven't pressed the red button yet, I'm going to do that and see what happens, but it started appearing after I did “Working with Japanese file names”, which is what it says in the manual when I press f1.

I wonder if it has something to do with that: l4.png
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
I've released v1.079.
Fixed a bunch of stuff, some of which even caused crashes.
 

Shisaye

Engaged Member
Modder
Dec 29, 2017
3,181
5,505
After a now deleted post, I've investigated how Bing works in batch translation and it seems like there's some kind of anti bot measures in place now.
You can still use it for individual cells but batch translation actually does not seem to work at all right now. Bing refuses to return the translation.

Now like I said SLR Translator is not meant to use anything other than SLR except for second opinion stuff, but I will still look into it in case it's an easy fix. Maybe it's currently just sending too much text at once.


EDIT: I've found a workaround you can use until I find out what's happening with my batch translator.
If you for whatever reason want to use a translator in batch translation that is not SLR, or Red Google go to the "www" folder inside the SLR Translator folder and open the file "trans.html" with Notepad++ (Or whatever you use to edit text files.)
Then scroll down to line 244 and uncomment it.
(Remove the "<!--" and "-->")

If you now launch SLR Translator you will have a new "Batch Translation" button in your toolbar.
That is the original batch translator by Dreamsavior.
Bing works normally using that.

But of course you need to keep in mind that if you do not use SLR, scripts and commands in the text will NOT be protected. They will be sent to the translator without any checks.
 
Last edited:

Games & Games

Active Member
May 7, 2023
609
376
Hello
Why does this happen with these two files “Animations” and “Tilesets”, they appear being transformed into .yaml and then when it comes time to pass them to SLR Translator, they simply disappear and you can't edit them?

In T++ they appear just fine for editing Sem título.png