I tried to reproduce it, but it is unstable. So, it might take a while. But next time I'll attach the log file!Interkarma wrote: ↑Fri Oct 13, 2023 2:28 am Sure, I'll have a closer look when I can.
Something else you can do next time it presents in English is to grab a copy of the player.log file in persistent data path. If there's some error, it will fallback to default English text. I might be able to catch what's happening if it's something going wrong at runtime.
[DFUnity] Russian translation
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
Daggerfall Russian Translation
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
I'm still trying to get it reproduced, but I got the report that I'm not the only one who have this problem. This quest sometimes just didn't get translated.Interkarma wrote: ↑Fri Oct 13, 2023 2:28 am Sure, I'll have a closer look when I can.
Something else you can do next time it presents in English is to grab a copy of the player.log file in persistent data path. If there's some error, it will fallback to default English text. I might be able to catch what's happening if it's something going wrong at runtime.
- Attachments
-
- MySaveandLog.zip
- (345.56 KiB) Downloaded 113 times
Daggerfall Russian Translation
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: [DFUnity] Russian translation
Daneel53 from the French team emailed me recently with steps to reproduce what I believe is the same problem. It's a save/load problem that can affect any localized quest.
To reproduce in 0.16.1 and lower.
I also found that starting quests from console also did not load localizations correctly, and have fixed that too.
To reproduce in 0.16.1 and lower.
- Start a localized quest (e.g. from Fighters Guild) but do not open journal after accepting quest.
- Save and exit game.
- Start game and reload save
- Open journal and note quest is not localized.
I also found that starting quests from console also did not load localizations correctly, and have fixed that too.
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
Thank you very much!Interkarma wrote: ↑Wed Oct 18, 2023 10:47 pm I also found that starting quests from console also did not load localizations correctly, and have fixed that too.
Daggerfall Russian Translation
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
Does this mean that we don't need to start a new game anymore and that we can install translation in the middle of the game, and all quests will be translated now? Even that are completed or that are in progress state?Interkarma wrote: ↑Wed Oct 18, 2023 10:47 pm The core problem was that localized quest messages were not reloaded when quest was restored from save.
Daggerfall Russian Translation
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
Meanwhile I found one more text that I cannot translate
There are lines
----
primary,
secondary,
----
in GameSettings.txt, but they don't apply.
There are lines
----
primary,
secondary,
----
in GameSettings.txt, but they don't apply.
- Attachments
-
- Screenshot 2023-10-19 165205.png (53.36 KiB) Viewed 2986 times
Daggerfall Russian Translation
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: [DFUnity] Russian translation
This should work for in-progress quests. Just keep in mind that some elements of quests go into save data only once, e.g. "finished quests" log. The best way to be 100% certain a quest is working is to restart and replay quest.
You'll also need to restart play session (i.e. save and exit game > start game and reload save) to refresh quest messages from localized quest files. Once a localized string is loaded into runtime string tables, it stays there until game exits.
These were added recently along with the text on Joystick UI. You can localize these in upcoming 0.16.2 release.
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
The question is not directly connected to translation, but...
In book files I can make as long a string as I want, then in the game it will be adjusted to the specific width and the player will see a normalized text of several lines.
In the quest messages though, it renders directly as is. Also, the long text with too many lines will be rendered as several messages. How hard is it to add a string limit and scrolling, just like in the books
In book files I can make as long a string as I want, then in the game it will be adjusted to the specific width and the player will see a normalized text of several lines.
In the quest messages though, it renders directly as is. Also, the long text with too many lines will be rendered as several messages. How hard is it to add a string limit and scrolling, just like in the books
Daggerfall Russian Translation
- Interkarma
- Posts: 7251
- Joined: Sun Mar 22, 2015 1:51 am
Re: [DFUnity] Russian translation
Unlike books which are displayed by a single UI, quest messages can be displayed in a variety of ways. They might be used for a letter/popup (messagebox UI), a rumour (talk UI), a journal entry (journal UI), and elsewhere. There's no one size fits all approach for text wrapping that will work everywhere quest messages can be displayed.
If you just mean the journal UI, I scoped this out a while back. It's definitely possible, but would involve UI to be rewritten. I ultimately decided it was a small benefit for a lot of my time, as I'm trying to separate myself from the project after 1.0. Maybe it's something a future steward will improve upon.
If you just mean the journal UI, I scoped this out a while back. It's definitely possible, but would involve UI to be rewritten. I ultimately decided it was a small benefit for a lot of my time, as I'm trying to separate myself from the project after 1.0. Maybe it's something a future steward will improve upon.
- Jagget
- Posts: 124
- Joined: Fri Oct 06, 2023 12:28 am
Re: [DFUnity] Russian translation
Totally make sense. Thanks!Interkarma wrote: ↑Mon Oct 30, 2023 11:47 pm I'm trying to separate myself from the project after 1.0. Maybe it's something a future steward will improve upon.
Daggerfall Russian Translation