Jump to content

Recommended Posts

Some time ago, I had the idea to translate my favorite mod from English into Russian. After doing some research on the topic, I started translating, and so far I've translated about 1,000 lines of the mod, but... the translation isn't showing up in the game. At first, I didn't notice this because I was focused on translating the text in the character selection menu (that mod adds a touch-sensitive character to the game, and yes, the mod translator works when selecting a character). I've been struggling with this problem for several days now. I checked this forum and studied other mods similar to mine, but nothing helps. This forum is my last hope. Maybe someone knows how to solve this problem?

22 hours ago, Goddess Artemis said:

Some time ago, I had the idea to translate my favorite mod from English into Russian. After doing some research on the topic, I started translating, and so far I've translated about 1,000 lines of the mod, but... the translation isn't showing up in the game. At first, I didn't notice this because I was focused on translating the text in the character selection menu (that mod adds a touch-sensitive character to the game, and yes, the mod translator works when selecting a character). I've been struggling with this problem for several days now. I checked this forum and studied other mods similar to mine, but nothing helps. This forum is my last hope. Maybe someone knows how to solve this problem?

Maybe it’s because the mod has a language configuration option. Are you translating the character’s speech file? If so, please share the mod link and the name of the file you’re translating so I can take a look.

  • Health 1
12 хвилин тому, Харухі Кавай сказав(ла):

Можливо, це тому, що мод має опцію налаштування мови. Ви перекладаєте файл мовлення персонажа? Якщо так, поділіться, будь ласка, посиланням на мод та назву файлу, який ви перекладаєте, щоб я міг переглянути.

Good evening! The mod doesn't have any language settings, which probably makes things a bit harder for me, but it is what it is.

Here is the link to the original mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1203081846 and I've attached my translation files below.

I’ve already tried messing with the priority — right now it's at -100, and that’s the only way I can at least get the character selection menu to show up in Russian. I also tried changing the file locations, rebuilding the whole project from scratch to make sure there are no code errors, and even tested a fresh file with just a single translated line, but nothing works for the in-game speech. I really hope you can help me find what's wrong!

speech_charlie_ru.lua modinfo.lua modmain.lua

12 hours ago, Goddess Artemis said:

Good evening! The mod doesn't have any language settings, which probably makes things a bit harder for me, but it is what it is.

Here is the link to the original mod: https://steamcommunity.com/sharedfiles/filedetails/?id=1203081846 and I've attached my translation files below.

I’ve already tried messing with the priority — right now it's at -100, and that’s the only way I can at least get the character selection menu to show up in Russian. I also tried changing the file locations, rebuilding the whole project from scratch to make sure there are no code errors, and even tested a fresh file with just a single translated line, but nothing works for the in-game speech. I really hope you can help me find what's wrong!

speech_charlie_ru.lua 220.54 kB · 0 downloads modinfo.lua 1.11 kB · 2 downloads modmain.lua 4.05 kB · 1 download

I checked and found a small issue in your modmain. Try changing this line in modmain:

GLOBAL.STRINGS.CHARACTERS.CHARLIE = require "speech_charlie"

to 

GLOBAL.STRINGS.CHARACTERS.CHARLIE = require "speech_charlie_ru"

Then create a scripts folder and move your translation file into that folder.


image.jpeg.4a493a5c67bbf51540e52e1209f6507d.jpeg

  • Health 1
2 hours ago, Haruhi Kawaii said:

Я перевірив і знайшов невелику проблему у вашому modmain. Спробуйте змінити цей рядок у modmain:

OMG, THANK YOU SO MUCH! I was honestly starting to think I’d never get it to work. I wish you nothing but happiness, health, and a long wonderful life! 🙏🏻🙏🏻

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...