Issues with the new language folder feature.
I tested the new language folder feature, and only the dubbing is imported at the moment. Things like textures and txt files are not being imported yet.
Another thing is that when using dubbings from other languages, the lines might be in a different order. In my test with Spanish, in the training course, the first line was about the grenade launcher instead of the welcome message.
As we discussed this in a chat, I suppose the titles.txt and sentences.txt are loaded too early, even before config.cfg is executed.
The way language switching works it would be more preferable if we could reload titles.txt and sentences.txt along with filesystem rescan. But for now I'm not sure if this will cause any mod compatibility issues.
I'm going to up this, is there going to be some kind of solution? I just found out that titles.txt doesn't work in modname_language directory. The sounds are working fine, but how to go about the titles.txt?
Yes, I'm working on the solution.
Language change will require engine restart though.
1
вс, 31 авг. 2025 г., 18:20 Aynekko @.***>:
Aynekko left a comment (FWGS/xash3d-fwgs#2005) https://github.com/FWGS/xash3d-fwgs/issues/2005#issuecomment-3240143119
I'm going to up this, is there going to be some kind of solution? I just found out that titles.txt doesn't work in modname_language directory. The sounds are working fine, but how to go about the titles.txt?
— Reply to this email directly, view it on GitHub https://github.com/FWGS/xash3d-fwgs/issues/2005#issuecomment-3240143119, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAYQTAPHLI4MP4TFXTC5W5T3QLZDRAVCNFSM6AAAAABWRWZVUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTENBQGE2DGMJRHE . You are receiving this because you commented.Message ID: @.***>
I'm planning to make bat-files with the mod release, and I'm going to put +ui_language russian into it, will that work, or will it require restart again after booting the game?
You also need fs_mount_l10n set to 1.
I will try to consider your use case as well.
@Aynekko to make it more simple, you can just use -language command line switch. It will automatically set fs_mount_l10n to 1 and ui_language to desired value.
Changing any of fs_mount_ cvars or ui_language will take effect only after engine restart.
It's working normally now